Core/EnttWorld: Add RemoveSystem method

This commit is contained in:
SirLynix
2023-07-27 15:09:15 +02:00
parent 99471e8e65
commit a101f7c71f
4 changed files with 22 additions and 0 deletions

View File

@@ -38,6 +38,12 @@ namespace Nz
return m_systemGraph.GetSystem<T>();
}
template<typename T>
void EnttWorld::RemoveSystem()
{
return m_systemGraph.RemoveSystem<T>();
}
inline EnttWorld::operator entt::registry&()
{
return m_registry;