ドキュメント

Unity Engine

Unity Engine

speedModifier

The multiplier applied to the camera's speed when holding the Shift key.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public float speedModifier { get; set; }

Remarks

When you hold down the Shift key while moving, the current camera SceneView.CameraSettings.speed is multiplied by this value. This provides a temporary boost to the movement speed. Adjust this value to control how fast the camera moves when the speed modifier is active.