Added ShowMouse and get global position to .net api, deferred onInit after all entities have been initialized
This commit is contained in:
@@ -223,7 +223,7 @@ namespace Nuake
|
||||
if (!HasEntityScriptInstance(entity))
|
||||
{
|
||||
Logger::Log("Failed to get entity .Net script instance, doesn't exist", ".net", CRITICAL);
|
||||
throw std::exception("Failed to get entity .Net script instance, doesn't exist");
|
||||
return Coral::ManagedObject();
|
||||
}
|
||||
|
||||
return m_EntityToManagedObjects[entity.GetID()];
|
||||
|
||||
Reference in New Issue
Block a user