Beispiel #1
0
    protected override void OnMouseExit()
    {
        Cursor.SetCursor(null, Vector2.zero, CursorMode.Auto);

        if (LM.selectedCharacter == null)
        {
            LM.HideUnitHover(this);
            ResetColor();
        }
        else if (LM.selectedCharacter == this)
        {
            return;
        }
        else if (LM.selectedCharacter != this.gameObject)
        {
            LM.HideUnitHover(this);
            ResetColor();
        }

        HideAttackEffect(this);
    }