(NodeComponent) Fixed NzNode::SetParent methods not being exposed
Former-commit-id: e4c60f01db90cd288314c37bfb6969b1922a1868
This commit is contained in:
parent
ead468525e
commit
201275b4ae
|
|
@ -21,6 +21,7 @@ namespace Ndk
|
|||
~NodeComponent() = default;
|
||||
|
||||
void SetParent(Entity* entity, bool keepDerived = false);
|
||||
using NzNode::SetParent;
|
||||
|
||||
static ComponentIndex componentIndex;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@ namespace Ndk
|
|||
NzNode::SetParent(entity->GetComponent<NodeComponent>(), keepDerived);
|
||||
}
|
||||
else
|
||||
SetParent(nullptr, keepDerived);
|
||||
NzNode::SetParent(nullptr, keepDerived);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue