public static void Dump() { //GameObjectMan pMan = GameObjectMan.privGetInstance(); GameObjectMan pMan = GameObjectMan.pActiveGOMan; Debug.Assert(pMan != null); pMan.baseDump(); }
public static void Destroy() { //GameObjectMan pMan = GameObjectMan.privGetInstance(); GameObjectMan pMan = GameObjectMan.pActiveGOMan; Debug.Assert(pMan != null); // Print stats on destroy pMan.baseDump(); // Invalidate the singleton if (pInstance != null) { pInstance = null; } }