public override void cast(string smName) { //SpellModificator sm = gameObject.GetComponent<SpellCreating>().getModIfExists(smName); if (controller.CheckGraph()) { resultText.text = "<color=#99FF99ff>Правильно!</color>"; } else { resultText.text = "<color=#FF5555ff>Неверно!</color>"; } timer = 3; }