Пример #1
0
        public void ReviveCharacter(Character revivedCharacter)
        {
            GUIComponent characterBlock = listBox.GetChild(revivedCharacter) as GUIComponent;

            if (characterBlock != null)
            {
                characterBlock.Color = Color.Transparent;
            }

            if (revivedCharacter is AICharacter)
            {
                commander.UpdateCharacters();
            }
        }