docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DropManipulator<T>

    Inheritance
    object
    Manipulator
    DropManipulator<T>
    Texture2DDropManipulator
    Implements
    IManipulator
    Inherited Members
    Manipulator.target
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Muse.Common
    Assembly: solution.dll
    Syntax
    public abstract class DropManipulator<T> : Manipulator, IManipulator where T : Object
    Type Parameters
    Name Description
    T

    Constructors

    Name Description
    DropManipulator(Model)

    Properties

    Name Description
    artifact

    Methods

    Name Description
    GetDroppableObjectForArtifact(Artifact, out T)

    This method is called when the user drops an artifact on the target.

    GetDroppableObjectForPath(string, out T)

    This method is called when the user drops a file on the target.

    GetDroppableObjectForUnityObjects(Object[], out T)

    This method is called when the user drops a Unity object on the target.

    RegisterCallbacksOnTarget()

    Called to register event callbacks on the target element.

    UnregisterCallbacksFromTarget()

    Called to unregister event callbacks from the target element.

    Events

    Name Description
    onDragEnd
    onDragStart
    onDrop
    In This Article
    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