docs.unity3d.com
    目次を表示する/隠す

    Method Locate

    Locate(Object, Type, out IList<IResourceLocation>)

    The key is converted to a string and used as the internal id of the location added to the locations parameter.

    Declaration
    public bool Locate(object key, Type type, out IList<IResourceLocation> locations)
    Parameters
    Type Name Description
    Object key

    The key of the location. This should be a string with the resources path of the asset.

    Type type

    The resource type.

    IList<IResourceLocation> locations

    The list of locations. This will have at most one item.

    Returns
    Type Description
    Boolean

    True if the key is a string object and a location was created, false otherwise.

    Implements
    IResourceLocator.Locate(Object, Type, out IList<IResourceLocation>)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)