Function CommandBuilder2D.PushDuration

PushDuration (float duration)

Draws everything until the next PopDuration for a number of seconds.

Public
void PushDuration (

float

duration

)

Draws everything until the next PopDuration for a number of seconds.

Warning

This is not recommended inside a DrawGizmos callback since DrawGizmos is called every frame anyway.