public UnitPresenter(IUnitView view) { _view = view; _navigationSystem = NavigationSystem.Instance; _enemyManager = EnemyManager.Instance; cellManager = CellManager.Instance; }
void Awake() { if (Instance != null) { DestroyImmediate(gameObject); } else { Instance = this; } }