Exemplo n.º 1
0
 //the physics engine does a collide the instant a tile wants to move into a space.
 //some actions need to wait until the movement of said tile is complete before triggering.
 //because of this, we have created another kind of collision that needs to be defined by the object animating.
 public void movementComplete()
 {
     grid=(GridController)GameObject.FindObjectOfType(typeof(GridController));
         grid.doOverCollide(this);
 }