Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     personnage = GameObject.Find("Personnage");
     perso      = GameObject.Find("Personnage").GetComponent <Stun>();
     stun       = false;
     calcMov    = GetComponent <CalculateMove>();
     stunRange  = perso.stunRange;
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     wait       = 0;
     waiter     = 1;
     MoveEnnemi = this.GetComponent <MoveEnnemi>();
     calcMove   = this.GetComponent <CalculateMove>();
     waitSearch = calcMove.waitSearch;
     waitReturn = calcMove.waitReturn;
 }