Description
The Active
property of the Editor.SceneOverlayWidget
class is a static property that provides access to the currently active instance of the SceneOverlayWidget
. This property is useful for managing and interacting with the overlay widget that is currently being displayed in the scene editor.
Usage
To access the active SceneOverlayWidget
, simply use the Active
property. This can be useful when you need to modify or query the current overlay widget in the scene editor.
Example usage:
var activeOverlay = Editor.SceneOverlayWidget.Active;
if (activeOverlay != null)
{
// Perform operations on the active overlay widget
activeOverlay.SomeMethod();
}
Example
var activeOverlay = Editor.SceneOverlayWidget.Active;
if (activeOverlay != null)
{
// Perform operations on the active overlay widget
activeOverlay.SomeMethod();
}