//-------------------------------------------Unity Functions------------------------------------------- private void Start() { var pos = BlockGrid.GetNearestTilePos(transform.position); pos.y = transform.position.y; transform.position = pos; mTargetPos = transform.position; }