文档

Unity Engine

Unity Engine

ObjectSelectorTargetInfo(GlobalObjectId, Object, Type)

Creates an ObjectSelectorTargetInfo.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Removed. ObjectSelectorTargetInfo has been deprecated.
public ObjectSelectorTargetInfo(GlobalObjectId globalObjectId, Object targetObject = null, Type type = null)

Parameters

globalObjectId

The object's global identifier.

targetObject

The object's instance. It can be null if the object is not loaded.

type

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.