Example #1
0
        public static void Close()
        {
            scene?.Dispose();
            scene = null;

            objectPool?.Dispose();
            objectPool = null;

            eventSystem = null;
        }
Example #2
0
File: Game.cs Project: yhr28/ET
        public static void Close()
        {
            eventSystem = null;

            scene.Dispose();
            scene = null;

            objectPool.Dispose();
            objectPool = null;

            hotfix = null;
        }
Example #3
0
        public static void Close()
        {
            //不等空就执行
            scene?.Dispose();
            scene = null;

            objectPool?.Dispose();
            objectPool = null;

            hotfix = null;

            eventSystem = null;
        }
Example #4
0
        public static void Close()
        {
            scene?.Dispose();
            scene = null;

            objectPool?.Dispose();
            objectPool = null;

                        #if Server
            hotfix = null;
                        #endif

            eventSystem = null;
        }