- Home /
Question by
methusalah999 · Jan 24, 2020 at 08:16 PM ·
graphicsrendererlateupdatedrawmesh
Where to call Graphics.DrawMesh to successfully draw during editor pause?
I'm using Graphics.DrawMesh for each camera in a LateUpdate method. It works perfectly as intended, except when the editor is in pause. During pause, my mesh is not drawn, which is perfectly understandable as LateUpdate is not called.
I've tried to use DrawMeshNow in OnRenderObject method but then, the shadowing is not enabled which is not acceptable in my case.
So where should I call DrawMesh to make my mesh drawn even when editor is in pause?
Comment