ObjectSelectorTargetInfo(GlobalObjectId, Object, Type)
Creates an ObjectSelectorTargetInfo.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.SearchService
- Assembly: UnityEditor.CoreModule
public ObjectSelectorTargetInfo(GlobalObjectId globalObjectId, Object targetObject = null, Type type = null)
Parameters
The object's global identifier.
The object's instance. It can be null if the object is not loaded.
The object's underlying type. It can be null if the object is not loaded.
Remarks
This structure is used to pass an object's information to an ObjectSelectorHandlerAttribute without loading the object if it is not needed.