Beispiel #1
0
 public void SetPosition(Vector2 position)
 {
     gridLocation            = position;
     transform.localPosition = Match3.GetWorldPosition(gridLocation);
     target = transform.localPosition;
     Match3.SetTile(gridLocation, this);
 }
Beispiel #2
0
 public void Animate(Vector2 position)
 {
     target = Match3.GetWorldPosition(position);
 }