void Start() { pathfinding = new NatPathfinding(largeur, hauteur); body = GetComponent <Rigidbody2D>(); grid = new NatGrid(largeur, hauteur, 0.5f, origine); //path = null; player = GameObject.FindGameObjectWithTag("Player"); //elapseTime = 0; //randomTime = 0; bougerRadom(); }
void Start() { pathfinding = new NatPathfinding(largeur, hauteur); grid = new NatGrid(largeur, hauteur, 0.5f, origine); }