private void DrawModePreview(Rect r, object o)
        {
            GObjectPaintingMode mode = (GObjectPaintingMode)o;
            Texture2D           icon = GEditorSkin.Instance.GetTexture(mode.ToString() + "ObjectIcon");

            if (icon == null)
            {
                icon = GEditorSkin.Instance.GetTexture("GearIcon");
            }
            string label = ObjectNames.NicifyVariableName(mode.ToString());

            DrawMode(r, label, icon);
        }
        private void DrawModePreview(Rect r, object o)
        {
            GObjectPaintingMode mode = (GObjectPaintingMode)o;

            GEditorCommon.DrawBodyBox(r);
            GUI.Label(r, ObjectNames.NicifyVariableName(mode.ToString()), GEditorCommon.CenteredMiniLabel);
        }