Move ImmediateModeShapeDrawer out of Samples

Avatar
  • updated
  • Completed

ImmediateModeShapeDrawer is currently located at Shapes/Samples/Assets/Scripts/ImmediateModeShapeDrawer.cs


While it may have originally been created as just an example of how to easily use Immediate Mode drawing on components, the documentation refers to it as 'a helper class you can inherit from' and so at this point it is no longer 'sample' code. It is a core part of the library.

Since it is common practice for users to delete 'Samples' folders from local packages in their projects to save on space and compile time (or even not include the folder in the first place when importing the package from the asset store), I would argue that ImmediateModeShapeDrawer should be moved to a folder outside of 'Samples'.

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
3.0.0
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Completed

this has already been fixed for 3.0.1!

Avatar
JohannesMP

Looking forward to that release :)

Avatar
Freya Holmér creator
  • Answer
  • Completed

this has already been fixed for 3.0.1!