Description
The GizmoSettings
property of the EditorScene
class provides access to the settings related to gizmos within the editor scene. Gizmos are visual aids that help developers understand and manipulate objects in the scene more effectively. This property is static, meaning it is shared across all instances of EditorScene
.
Usage
To access or modify the gizmo settings in the editor scene, use the GizmoSettings
property. This property is static, so it can be accessed directly through the EditorScene
class without needing to instantiate an object.
Example usage:
// Accessing the current gizmo settings
var currentGizmoSettings = EditorScene.GizmoSettings;
// Modifying a property within the gizmo settings
currentGizmoSettings.SomeProperty = newValue;
Example
// Accessing the GizmoSettings property
var gizmoSettings = EditorScene.GizmoSettings;
// Example: Adjusting a setting within GizmoSettings
// Assuming GizmoSettings has a property called 'ShowGrid'
gizmoSettings.ShowGrid = true;