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