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