docs.unity3d.com
    Show / Hide Table of Contents

    Class LightAnchorEditorTool

    LightAnchorEditorTool

    Inheritance
    Object
    Object
    ScriptableObject
    EditorTool
    LightAnchorEditorTool
    Inherited Members
    EditorTool.OnActivated()
    EditorTool.OnWillBeDeactivated()
    EditorTool.targets
    EditorTool.target
    UnityEditor.EditorTools.EditorTool.gridSnapEnabled
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEditor
    Syntax
    [EditorTool("Light Anchor", typeof(LightAnchor), null)]
    public class LightAnchorEditorTool : EditorTool, IEditor

    Properties

    toolbarIcon

    Icon for LightAnchor Tool

    Declaration
    public override GUIContent toolbarIcon { get; }
    Property Value
    Type Description
    GUIContent
    Overrides
    EditorTool.toolbarIcon

    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
    EditorTool.IsAvailable()

    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.

    Overrides
    EditorTool.OnToolGUI(EditorWindow)

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023