Method SetDataBuilderAtIndex
SetDataBuilderAtIndex(Int32, IDataBuilder, Boolean)
Sets the data builder at the specified index.
Declaration
public bool SetDataBuilderAtIndex(int index, IDataBuilder builder, bool postEvent = true)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index to set the builder. |
IDataBuilder | builder | The builder to set. This must be a valid scriptable object that implements the IDataBuilder interface. |
Boolean | postEvent | Indicates if an even should be posted to the Addressables event system for this change. |
Returns
Type | Description |
---|---|
Boolean | True if the builder was set, false otherwise. |