Beispiel #1
0
 public void Select()
 {
     if (IngameInterfaceManager.currentInstance == null)
     {
         return;
     }
     if (IngameInterfaceManager.currentInstance.currentHudState == HUDState.actionSelected)
     {
         return;
     }
     globalControl.UnidadSeleccionada(unitReferenced);
     IngameInterfaceManager.currentInstance.OpenUnitInfo(this);
     selected = true;
     StopCoroutine("SelectedAnimation");
     StartCoroutine("SelectedAnimation");
 }