Ejemplo n.º 1
0
 public void AcceptClickEvent(Vector3 worldPosition, bool uiClick, Transform hitTransform)
 {
     if (hitTransform == transform)
     {
         m_actionsController.GetComponent <ActionsController>().AddSelectedUnit(gameObject);
         SetHealthBarActive(true);
     }
 }