Пример #1
0
 public void Inject(UnitSpawnController unitSpawnController, GameController gameController, DiContainer diContainer)
 {
     _diContainer         = diContainer;
     _unitSpawnController = unitSpawnController;
     _gameController      = gameController;
 }
Пример #2
0
 void OnMouseEnter()
 {
     myRenderer.color = new Color(0.7f, 0.7f, 0.7f, 0.5f);
     currentSpawnArea = this;
 }
Пример #3
0
 void OnMouseExit()
 {
     myRenderer.color = Color.white;
     currentSpawnArea = null;
 }
Пример #4
0
 public void Inject(UnitSpawnController unitSpawnController, GameController gameController)
 {
     _gameController      = gameController;
     _unitSpawnController = unitSpawnController;
 }