Function Draw.PushColor
PushColor
(Color color)
Draws everything until the next PopColor with the given color.
Public
Static
void PushColor (
color |
Draws everything until the next PopColor with the given color.
Any command that is passed an explicit color parameter will override this color. If another color scope is nested inside this one then that scope will override this color.
Warning
This method cannot be used inside of Burst jobs. See Drawing from a Job/ECS instead.