Version: 2020.3

ObjectSelectorTargetInfo

struct in UnityEditor.SearchService

매뉴얼로 전환

설명

A structure that contains information about an item that is about to be shown.

변수

globalObjectIdThe object's global identifier. It is always valid.
targetObjectIf the object is already loaded in Unity, this is its instance. The instance can be null.
typeIf the object is currently loaded in Unity, this is its underlying type. The type can be null.

생성자

ObjectSelectorTargetInfoCreates an ObjectSelectorTargetInfo.

Public 함수

LoadObjectLoads an object instance if it is not already loaded in Unity. This can return null if the object is part of a Scene or Prefab that is not loaded.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961