Language
Edit

DataConsumerCollection.FindNearestCollectionItemPlacer Method

Definition

Search through game object hierarchy for the nearest IDataCollectionItemPlacer implementation.

protected void FindNearestCollectionItemPlacer();
member this.FindNearestCollectionItemPlacer : unit -> unit
Protected Sub FindNearestCollectionItemPlacer ()

Remarks

This protected method is unique to collection related Data Consumers. An Item Placer is used to place game objects (usually a prefab), into the viewers experience when all or a subset of a collection are requested from the data source. These are usually inserted into a managed collection that offers scrolling and other list related UX features.

Applies to