// Use this for initialization
    void Start()
    {
        longc = GameObject.Find ("LongCast");
        spellcast1 = longc.GetComponent<SpellCast> ();

        _sih = GameObject.Find ("Sihir");
        mc = _sih.GetComponent<Encolhimento> ();
    }
Exemplo n.º 2
0
 void Start()
 {
     GameObject character = GameObject.Find ("Sihir");
     encolhimento = character.GetComponent<Encolhimento> ();
 }