Class LightAnchorEditorTool
LightAnchorEditorTool
Inherited Members
UnityEngine.ScriptableObject.SetDirty()
UnityEngine.ScriptableObject.CreateInstance<T>()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: UnityEditor
Syntax
[EditorTool("Light Anchor", typeof(LightAnchor))]
public class LightAnchorEditorTool : EditorTool, IEditor
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 |
|---|---|
| Boolean | 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 |
|---|---|---|
| EditorWindow | window | The window that is displaying the custom editor tool. |