Method ChangeSignalAtIndex
ChangeSignalAtIndex(int, SignalAsset)
Replaces the SignalAsset associated with a reaction at a specific index.
선언
public void ChangeSignalAtIndex(int idx, SignalAsset newKey)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| int | idx | The index of the reaction. |
| SignalAsset | newKey | The replacement SignalAsset. |
참고
The new SignalAsset can be null.
예외
| 타입 | 조건 |
|---|---|
| ArgumentException | Thrown when the replacement SignalAsset is already registered to this SignalReceiver. |