public static void Close() { scene?.Dispose(); scene = null; objectPool?.Dispose(); objectPool = null; eventSystem = null; }
public static void Close() { eventSystem = null; scene.Dispose(); scene = null; objectPool.Dispose(); objectPool = null; hotfix = null; }
public static void Close() { //不等空就执行 scene?.Dispose(); scene = null; objectPool?.Dispose(); objectPool = null; hotfix = null; eventSystem = null; }
public static void Close() { scene?.Dispose(); scene = null; objectPool?.Dispose(); objectPool = null; #if Server hotfix = null; #endif eventSystem = null; }