public void MoveToLookat(Vector3 target, bool bSmoothMove) { followPose.pos = target + cameraSetting.GetCurrentBezierCameraOffset(); followPose.rot = cameraSetting.GetRotation(); startPos.pos = camera.transform.position; startPos.rot = camera.transform.rotation; SetState(State.ToLookat); timeToStartSwitch = Time.time; timeToEndSwitch = timeToStartSwitch + Pose.GetScale(20.0f, 90.0f, startPos, followPose); }