viewTool
The option that is currently active for the View tool in the Scene view.
Read time 1 minuteLast updated 6 days ago
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.