예제 #1
0
 private void OnDisable()
 {
     MovementJobHandle.Complete();
     _transforms.Dispose();
     _movementInfoArray.Dispose();
     _instance = null;
 }
예제 #2
0
 public static DroneManager New()
 {
     _instance = new GameObject("DroneManager").AddComponent <DroneManager>();
     return(_instance);
 }