void Update() { if (!distanceController.GetChangeStageStatus()) { newPos = new Vector3(3.0f, startPos - ((distanceController.GetCurDist() / distanceController.GetEndDist()) * stagePosDiff), 0.0f); transform.position = newPos; } }