Ejemplo n.º 1
0
        public static void Init()
        {
            // Get existing open window or if none, make a new one:
            MatcapFXSplash window = (MatcapFXSplash)EditorWindow.GetWindow(typeof(MatcapFXSplash));
            Vector2        size   = new Vector2(500, 650);

            window.minSize = size;
            window.maxSize = size;
            window.Show();
        }
Ejemplo n.º 2
0
        static LaunchMatcapFXSplash()
        {
            string key = "MatcapFXSplash";

            if (!EditorPrefs.HasKey(key))
            {
                EditorPrefs.SetBool(key, true);
                MatcapFXSplash.Init();
            }
            //EditorPrefs.DeleteKey (key);
        }