Class LightAnchorEditorTool
LightAnchorEditorTool
Inherited Members
Namespace: UnityEditor
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[EditorTool("Light Anchor", typeof(LightAnchor))]
public class LightAnchorEditorTool : EditorTool
Properties
toolbarIcon
Icon for LightAnchor Tool
Declaration
public override GUIContent toolbarIcon { get; }
Property Value
Type | Description |
---|---|
GUIContent |
Overrides
Methods
IsAvailable()
Checks whether the custom editor tool is available based on the state of the editor.
Declaration
public override bool IsAvailable()
Returns
Type | Description |
---|---|
bool | Always return true |
Overrides
OnToolGUI(EditorWindow)
Use this method to implement a custom editor tool.
Declaration
public override void OnToolGUI(EditorWindow window)
Parameters
Type | Name | Description |
---|---|---|
Editor |
window | The window that is displaying the custom editor tool. |