Пример #1
0
    bool DefenseCommand(Transform chess)
    {
        bool defable = false;

        if (!chess.GetComponent <CharacterProperty>().Attacked)
        {
            MainUI mUI = Camera.main.GetComponent <MainUI>();
            mUI.DefenseCmd(chess);
        }
        return(defable);
    }