docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDroppableObjectForPath

    GetDroppableObjectForPath(string, out T)

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

    Declaration
    protected virtual bool GetDroppableObjectForPath(string path, out T obj)
    Parameters
    Type Name Description
    string path

    The path of the file dropped on the target.

    T obj

    The object to be dropped.

    Returns
    Type Description
    bool

    True if the object is valid and can be dropped, false otherwise.

    Remarks

    The result will be cached and this cache will be invalidated when the current drag operation ends.

    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