Example #1
0
void FObjectInstancingGraph::AddNewObject(class UObject* ObjectInstance)
{
    if (HasDestinationRoot())
    {
        AddNewInstance(ObjectInstance);
    }
    else
    {
        SetDestinationRoot(ObjectInstance);
    }
}
Example #2
0
void FObjectInstancingGraph::AddNewObject(class UObject* ObjectInstance, UObject* InArchetype /*= nullptr*/)
{
	if (HasDestinationRoot())
	{
		AddNewInstance(ObjectInstance, InArchetype);
	}
	else
	{
		SetDestinationRoot(ObjectInstance, InArchetype);
	}
}