public void OnGUI() { if (styleTransform == null) { styleTransform = new GUIStyle(GUI.skin.label); styleTransform.fontSize = 16; if (monoSpaceFont != null) { styleTransform.font = monoSpaceFont; } } DrawTools.NewFrame(); if (showUI && currentDisplayedObject && mode != Mode.UI) { DrawLabels(currentDisplayedObject); } }
// ReSharper disable once InconsistentNaming private void OnGUI() { DrawTools.NewFrame(); }