Dispose() public method

public Dispose ( ) : void
return void
示例#1
0
        public static void Close()
        {
            scene?.Dispose();
            scene = null;

            objectPool?.Dispose();
            objectPool = null;

            eventSystem = null;
        }
示例#2
0
 public static void CloseScene()
 {
     scene.Dispose();
     scene = null;
 }