docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PathEditorTool<T>

    Inheritance
    object
    Object
    ScriptableObject
    EditorTool
    PathEditorTool<T>
    Inherited Members
    EditorTool.OnToolGUI(EditorWindow)
    EditorTool.targets
    EditorTool.target
    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, bool)
    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, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.U2D.Path
    Assembly: solution.dll
    Syntax
    public abstract class PathEditorTool<T> : EditorTool where T : ScriptablePath
    Type Parameters
    Name Description
    T

    Properties

    Name Description
    enableSnapping
    toolbarIcon

    The icon and tooltip for this custom editor tool. If this function is not implemented, the toolbar displays the Inspector icon for the target type. If no target type is defined, the toolbar displays the Tool Mode icon.

    Methods

    Name Description
    GetCustomDrawer(Object)
    GetLinearTangentIsZero(Object)
    GetPath(Object)
    GetShape(Object)
    Initialize(T, SerializedObject)
    IsAvailable()

    Checks whether the custom editor tool is available based on the state of the editor.

    OnActivate()
    OnCustomGUI(T)
    OnDeactivate()
    SetPath(Object)
    SetShape(T, SerializedObject)

    Extension Methods

    PathEditorToolExtensions.CycleTangentMode<T>(PathEditorTool<T>)
    PathEditorToolExtensions.MirrorTangent<T>(PathEditorTool<T>)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)