Documentation

Unity Engine

Unity Engine

ObjectSelectorTargetInfo(GlobalObjectId, Object, Type)

Creates an ObjectSelectorTargetInfo.
Read time 1 minuteLast updated a month ago

Definition

Warning
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.