Method Cancel
Cancel(float, bool)
Cancel the event at the supplied time
Declaration
public void Cancel(float time, bool forceNoDecay)
Parameters
Type | Name | Description |
---|---|---|
float | time | The time at which to cancel the event |
bool | forceNoDecay | If true, event will be cut immediately at the time, otherwise its envelope's decay curve will begin at the cancel time |