Method ChangeReactionAtIndex
ChangeReactionAtIndex(int, UnityEvent)
Replaces the reaction at a specific index with a new UnityEvent.
선언
public void ChangeReactionAtIndex(int idx, UnityEvent reaction)
파라미터
타입 | 이름 | 설명 |
---|---|---|
int | idx | The index of the reaction to be replaced. |
UnityEvent | reaction | The replacement reaction. |
예외
타입 | 조건 |
---|---|
ArgumentNullException | Thrown when the replacement reaction is null. |