New Dashed Line Syntax for Immediate Mode
I'm really confused how the new dashed line system works after the refactor. I've searched the knowledge base and the documentation, and couldn't find an answer.
How do I do a dashed arc in Immediate mode?
Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Never mind, figured it out. For future, reference, if anyone is looking for how to do it.
1. Private / Public variables in the main scope
2. Assign the dash style in the DrawShapes override.
3. In the same scope or related methods / functions, use 'using' with dashedscope and the dashstyle you assigned.