Language
Edit

DataConsumerCollection.UpdatePrefabDataConsumers(GameObject, String) Method

Definition

Update all IDataConsumer components in the prefab GO hierarchy.

protected void UpdatePrefabDataConsumers(UnityEngine.GameObject prefab, string collectionItemKeyPathPrefix);
member this.UpdatePrefabDataConsumers : UnityEngine.GameObject * string -> unit
Protected Sub UpdatePrefabDataConsumers (prefab As GameObject, collectionItemKeyPathPrefix As String)

Parameters

prefab
UnityEngine.GameObject

The prefab game object to update.

collectionItemKeyPathPrefix
String

The Keypath prefix associated with this collection.

Remarks

Make sure the data consumers in a view prefab are associated with the correct keypath and the datasource that will provide data.

Applies to