public override void SelectedFunctionality() { if (LM.currentLevelState == LevelManager.LevelState.ProcessingPlayerActions) { if (LM.selectedEnemy != null && LM.selectedEnemy != GetComponent <EnemyUnit>()) { LM.HideEnemyHover(LM.selectedEnemy); //Llamo a LevelManager para desactivar hover if (LM.selectedCharacter != null) { LM.selectedCharacter.HideDamageIcons(this); } LM.HideHover(LM.selectedEnemy); LM.selectedEnemy.HealthBarOn_Off(false); //LM.UIM.HideCharacterInfo(""); Cursor.SetCursor(null, Vector2.zero, CursorMode.Auto); } else { LM.DeSelectUnit(); LM.selectedEnemy = GetComponent <EnemyUnit>(); //Activo la barra de vida HealthBarOn_Off(true); //Cambio el color del personaje SelectedColor(); } } }