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