// 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; }
// 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; }