/// <summary> /// スティックでY軸の視点移動 /// </summary> static public void StickY(Transform playerTransform) { rotateStick = SwitchInput.GetHorizontal(0); playerTransform.Rotate(0, rotateStick * ViewpointMovementConfig.GetInstance().GetRotationSpeed() * Time.deltaTime, 0); }
void Update() { ViewpointMovementConfig.GetInstance().GetViewpointMovement(). ViewpointMovementImpl(cameraTransform, playerTransform, flashLightTransform); }