DataCollectionItemPlacerGOBase.PlaceItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.