Move the basic drawing tools provided in SpaceCenter to a new service called Drawing and add a service called UI
Drawing service draws the following in the 3D scene. As a starting point, add support for:
UI services draws and allows interaction with Unity UI elements. As a starting point, add support for:
Drawing/UI primitives should be returned as an object, so that the code can modify them. This will avoid the issues of the current approach which requires you to call ClearDrawing and redraw everything, causing flickering in game.
Move the basic drawing tools provided in
SpaceCenterto a new service calledDrawingand add a service calledUIDrawing service draws the following in the 3D scene. As a starting point, add support for:
UI services draws and allows interaction with Unity UI elements. As a starting point, add support for:
ScreenMessages.PostScreenMessageDrawing/UI primitives should be returned as an object, so that the code can modify them. This will avoid the issues of the current approach which requires you to call
ClearDrawingand redraw everything, causing flickering in game.