diff --git a/Runtime/Gizmos/DebugX.text.cs b/Runtime/Gizmos/DebugX.text.cs index 84b98fa..06751bc 100644 --- a/Runtime/Gizmos/DebugX.text.cs +++ b/Runtime/Gizmos/DebugX.text.cs @@ -153,7 +153,7 @@ namespace DCFApixels { localCamera = currentDrawingSceneView.camera; - if (camera != null) { + if (localCamera != null) { return localCamera.orthographicSize; }