Пример #1
0
Файл: Unit.cs Проект: U3DC/RTS
 protected void Start()
 {
     mInteraction.Deselect();
     MapManager.Instance.AddUnit(transform);
 }
Пример #2
0
 void HandleClickOtherPlayers(GameObject player)
 {
     mInteraction.Deselect();
     player.GetComponent <UnitInteraction>().Select();
 }