mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update UpdateInstance.cs
This commit is contained in:
@@ -26,11 +26,6 @@ namespace TEngine.Runtime
|
|||||||
|
|
||||||
UnitySingletons.Sort((x, y) => -x.GetPriority().CompareTo(y.GetPriority()));
|
UnitySingletons.Sort((x, y) => -x.GetPriority().CompareTo(y.GetPriority()));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < UnitySingletons.Count; i++)
|
|
||||||
{
|
|
||||||
Log.Fatal(UnitySingletons[i].ToString());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Release(IUnitySingleton unitySingleton)
|
public void Release(IUnitySingleton unitySingleton)
|
||||||
@@ -66,7 +61,6 @@ namespace TEngine.Runtime
|
|||||||
|
|
||||||
public override void Destroy()
|
public override void Destroy()
|
||||||
{
|
{
|
||||||
ReleaseAll();
|
|
||||||
base.Destroy();
|
base.Destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user