Language
Edit

DataCollectionItemPlacerGOBase.PlaceItem Method

Definition

Place a game object into the experience previously requested via IDataConsumer.RequestCollectionItems()

public virtual void PlaceItem(object requestRef, int itemIndex, string itemKeypath, UnityEngine.GameObject itemGO);
abstract member PlaceItem : obj * int * string * UnityEngine.GameObject -> unit
override this.PlaceItem : obj * int * string * UnityEngine.GameObject -> unit
Public Overridable Sub PlaceItem (requestRef As Object, itemIndex As Integer, itemKeypath As String, itemGO As GameObject)

Parameters

requestRef
Object

Any desired private object, initially provided to RequestCollectionItems()

itemIndex
Int32

The absolute item index in the data source array.

itemKeypath
String
itemGO
UnityEngine.GameObject

The game object created using the data at the specified item index.

Implements

Applies to