Пример #1
0
        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);
            }
        }
Пример #2
0
 // ReSharper disable once InconsistentNaming
 private void OnGUI()
 {
     DrawTools.NewFrame();
 }