The BlockTool class is part of the Editor.MeshEditor
namespace and extends the EditorTool class. It provides functionality to create new shapes by dragging out a block in the editor environment.
The BlockTool class is part of the Editor.MeshEditor
namespace and extends the EditorTool class. It provides functionality to create new shapes by dragging out a block in the editor environment.
Member Name | Summary |
---|---|
ActivateTool | Activates the Block Tool using the shortcut Shift+B in the Scene Viewport Widget. |
Member Name | Summary |
---|---|
OnEnabled | Called when the tool is enabled. |
OnDisabled | Called when the tool is disabled. |
OnSelectionChanged | Called when the selection changes in the editor. |
OnUpdate | Called every frame to update the tool's state. |
BuildUI | Builds the user interface for the tool. |
OnEdited | Called when a property is edited. Takes a SerializedProperty as a parameter. |