Description
The Path
property of the Gizmo
class in the Sandbox namespace is a static string property that represents the current path used by the gizmo system. This path is typically used to identify or categorize the gizmo's context or scope within the application.
Usage
Use the Gizmo.Path
property to get or set the current path for the gizmo system. This can be useful for organizing or managing different gizmo instances or operations within a scene or application.
Example
// Example of setting the Gizmo Path
Gizmo.Path = "MyGizmoPath";
// Example of getting the current Gizmo Path
string currentPath = Gizmo.Path;
// Output the current path
// Note: Avoid using Console.WriteLine in Sandbox
// Instead, use a logging system or UI element to display the path
Log.Info($"Current Gizmo Path: {currentPath}");