Example #1
0
        public static void EditorPreferences()
        {
            EditorGUILayout.HelpBox(
                "Change this setting to new location of Stickies if you move the folder around in your project.",
                MessageType.Warning);
            StickiesHomeFolder.Draw();
            EditorGUILayout.Space();
            ConfirmDeleting.Draw();
            OffsetInProjectView.Draw();
            FontSize.Draw();

            // hierarchy
            GUILayout.Space(15f);
            EditorGUILayout.LabelField("Experimental", EditorStyles.boldLabel);
            EditorGUILayout.HelpBox(
                "This feature is experimental, relies on reflection and therefore might slow down editor performance.",
                MessageType.Warning);
            EnableHierarchyStickies.Draw();
            GUI.enabled = EnableHierarchyStickies;
            OffsetInHierarchyView.Draw();
            GUI.enabled = true;

            GUILayout.FlexibleSpace();
            EditorGUILayout.LabelField("Version 1.1.1", EditorStyles.miniLabel);
        }
 public override void OnGUI(string searchContext)
 {
     OffsetInProjectView.Draw();
     ShowOnHover.Draw();
     ShowOnSelected.Draw();
     GUILayout.FlexibleSpace();
     EditorGUILayout.LabelField("Version 1.0", EditorStyles.centeredGreyMiniLabel);
 }
        public static void EditorPreferences()
        {
            OffsetInProjectView.Draw();
            ShowOnHover.Draw();
            ShowOnSelected.Draw();

            GUILayout.FlexibleSpace();
            EditorGUILayout.LabelField("Version 1.1", EditorStyles.centeredGreyMiniLabel);
        }