Exemplo n.º 1
0
 static public void SetTowards(this Walker2D item, Vector2 position)
 {
     item.SetBehaviour(new WalkerBehaviour2D_Towards(position));
 }
Exemplo n.º 2
0
 static public void SetDirection(this Walker2D item, Vector2 direction)
 {
     item.SetBehaviour(new WalkerBehaviour2D_Direction(direction));
 }
Exemplo n.º 3
0
 static public void SetDestination(this Walker2D item, Vector2 position)
 {
     item.SetBehaviour(new WalkerBehaviour2D_Destination(position));
 }