ドキュメント

Unity Engine

Unity Engine

viewTool

The option that is currently active for the View tool in the Scene view.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static ViewTool viewTool { get; set; }

Remarks

The View tool has options for Orbit, Pan, Zoom and FPS, depending on which combination mouse buttons and modifier keys is used. This property reports which option is currently active.
Additional Resources: current.