Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     player = GameObject.Find("Emila");
     c      = player.GetComponent <Controll>();
     s      = saw.GetComponent <spikes>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     curState = State.Top;
     counter  = 0;
     spike    = GetComponentInChildren <spikes>();
 }