Example #1
0
        static PluginInfo()
        {
            if (open)
            {
                return;
            }
            bool showInfo = EditorPrefs.GetString("ShowPluginInfo.version", "") != version;

            if (!showInfo)
            {
                return;
            }
            InitWindow window = EditorWindow.GetWindow <InitWindow>(true);

            window.init();
            EditorPrefs.SetString("ShowPluginInfo.version", version);
            open = true;
        }
Example #2
0
        static PluginInfo()
        {
            if (open)
            {
                return;
            }
            bool showInfo = EditorPrefs.GetBool("ShowPluginInfo" + version, true);

            if (!showInfo)
            {
                return;
            }
            InitWindow window = EditorWindow.GetWindow <InitWindow>(true);

            window.init();
            EditorPrefs.SetBool("ShowPluginInfo" + PluginInfo.version, false);
            open = true;
        }
Example #3
0
        public static void OpenWindow()
        {
            InitWindow window = EditorWindow.GetWindow <InitWindow>(true);

            window.init();
        }