private static void DrawCameraBound(Camera camera, GizmoType gizmoType)
{
SceneView currentDrawingSceneView = SceneView.currentDrawingSceneView;
if (((currentDrawingSceneView != null) && currentDrawingSceneView.in2DMode) && ((camera == Camera.main) && camera.orthographic))
{
RenderGizmo(camera);
}
}