Esempio n. 1
0
 void OnDisable()
 {
     //On disable the area is cleared of this obstacle.
     navFloor.ClearMapArea(new Vector2(transform.position.x, transform.position.y) + centre, size);
 }