private bool MoveObject() { if (!(MMUtils.AtTarget(transform.position.x, v3TargetPosition.x) && MMUtils.AtTarget(transform.position.z, v3TargetPosition.z))) { transform.position = Vector3.Lerp(transform.position, this.GetTargetMovement(), this.GetMovementSpeed() * Time.deltaTime); return(false); } else { transform.position = GetTargetMovement(); v3CurrentPosition = GetTargetMovement(); return(true); } }