Function CommandBuilder.PushPersist

PushPersist (float duration)

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

Public
void PushPersist (

float

duration

)

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

Warning

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

Deprecated

Renamed to PushDuration