mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update RootComponent.cs
This commit is contained in:
@@ -317,10 +317,9 @@ namespace TEngine
|
||||
|
||||
private void OnLowMemory()
|
||||
{
|
||||
Log.Info("Low memory reported...");
|
||||
Log.Warning("Low memory reported...");
|
||||
|
||||
//TODO
|
||||
/*ObjectPoolComponent objectPoolComponent = GameEntry.GetComponent<ObjectPoolComponent>();
|
||||
ObjectPoolComponent objectPoolComponent = GameEntry.GetComponent<ObjectPoolComponent>();
|
||||
if (objectPoolComponent != null)
|
||||
{
|
||||
objectPoolComponent.ReleaseAllUnused();
|
||||
@@ -330,7 +329,7 @@ namespace TEngine
|
||||
if (resourceComponent != null)
|
||||
{
|
||||
resourceComponent.ForceUnloadUnusedAssets(true);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user