Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


viewTool

The option that is currently active for the View tool in the Scene view.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.