Utility/NodeComponent: Use entt::handle for SetParent
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Nz
|
||||
NodeComponent(NodeComponent&&) noexcept = default;
|
||||
~NodeComponent() = default;
|
||||
|
||||
void SetParent(entt::registry& registry, entt::entity entity, bool keepDerived = false);
|
||||
void SetParent(entt::handle entity, bool keepDerived = false);
|
||||
using Node::SetParent;
|
||||
|
||||
NodeComponent& operator=(const NodeComponent&) = default;
|
||||
|
||||
Reference in New Issue
Block a user