// Use this for initialization void Start() { longc = GameObject.Find ("LongCast"); spellcast1 = longc.GetComponent<SpellCast> (); _sih = GameObject.Find ("Sihir"); mc = _sih.GetComponent<Encolhimento> (); }
void Start() { GameObject character = GameObject.Find ("Sihir"); encolhimento = character.GetComponent<Encolhimento> (); }