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