Utility/NodeComponent: Use entt::handle for SetParent

This commit is contained in:
SirLynix
2022-07-02 19:45:33 +02:00
parent d5f70279a1
commit 4d24be2ae9
2 changed files with 3 additions and 3 deletions

View File

@@ -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;