Method SetInitializationObjectAtIndex
SetInitializationObjectAtIndex(int, IObjectInitializationDataProvider, bool)
Sets the initialization object at the specified index.
선언
public bool SetInitializationObjectAtIndex(int index, IObjectInitializationDataProvider initObject, bool postEvent = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
int | index | The index to set the initialization object. |
IObjectInitializationDataProvider | initObject | The initialization object to set. This must be a valid scriptable object that implements the IInitializationObject interface. |
bool | postEvent | Indicates if an even should be posted to the Addressables event system for this change. |
반환
타입 | 설명 |
---|---|
bool | True if the initialization object was set, false otherwise. |