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