public bool Move(GameObject tile, Vector3 position, out Vector3 newPosition) { bool moved = false; newPosition = position; if (m_Movement.Move(tile, position)) { newPosition = tile.GetComponent <TileManager>().GetPosition(); newPosition.y = 2.5f; moved = true; } return(moved); }