Method ChangeStopTime
ChangeStopTime(float, bool)
Change the envelope so that it stops at a specific offset from its start time. Use this to extend or cut short an existing envelope, while respecting the attack and decay as much as possible.
선언
public void ChangeStopTime(float offset, bool forceNoDecay)
파라미터
타입 | 이름 | 설명 |
---|---|---|
float | offset | When to stop the envelope |
bool | forceNoDecay | If true, enevlope will not decay, but cut off instantly |