Class DrawingManager Extends MonoBehaviour

Public

Global script which draws debug items and gizmos.

If a Draw.* method has been used or if any script inheriting from the MonoBehaviourGizmos class is in the scene then an instance of this script will be created and put on a hidden GameObject.

It will inject drawing logic into any cameras that are rendered.

Usually you never have to interact with this class.

Public Static Methods

Init ()
Public Static
Register (item)

Registers an object for gizmo drawing.

Public Static

Public Variables

gizmos
Public

Public Static Variables

allowRenderToRenderTextures
Public Static
drawToAllCameras
Public Static
instance
Public Static

Private/Protected Members

_instance
Private Static
BeginFrameRendering (context, cameras)
Private
builtGizmos
Private
CheckFrameTicking ()
Private
commandBuffer
Private
DrawGizmos (usingRenderPipeline)
Private
EndCameraRendering (context, camera)
Private
framePassed
Private
gizmoDrawers
Private Static
lastFrameCount
Private
OnApplicationQuit ()
Private
OnDisable ()
Private
OnEnable ()
Private
OnUpdate ()
Private
PostRender (camera)
Private
previousFrameRedrawScope
Private
RemoveDestroyedGizmoDrawers ()
Private
ShouldDrawGizmos (obj)
Private
Submit (camera, cmd, usingRenderPipeline)
Private
SubmitFrame (camera, cmd, usingRenderPipeline)
Private
typeToGizmosEnabled
Private
use3dGizmos
Private