Method SetDataBuilderAtIndex
SetDataBuilderAtIndex(int, IDataBuilder, bool)
Sets the data builder at the specified index.
Declaration
public bool SetDataBuilderAtIndex(int index, IDataBuilder builder, bool postEvent = true)
Parameters
| Type | Name | Description |
|---|---|---|
| int | 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. |
| bool | postEvent | Indicates if an even should be posted to the Addressables event system for this change. |
Returns
| Type | Description |
|---|---|
| bool | True if the builder was set, false otherwise. |