예제 #1
0
        private void OnEnable()
        {
            launcherConfig = DeploymentLauncherConfig.GetInstance();
            projectName    = GetProjectName();

            if (launcherConfig != null && projectName != null)
            {
                launcherConfig.SetProjectName(projectName);
                MarkConfigAsDirty();
            }

            Application.quitting += OnExit;
        }
        private void OnEnable()
        {
            launcherConfig = DeploymentLauncherConfig.GetInstance();
            projectName    = GetProjectName();

            if (launcherConfig != null && projectName != null)
            {
                launcherConfig.SetProjectName(projectName);
                MarkConfigAsDirty();
            }

            spinnerMaterial = new Material(Shader.Find("UI/Default"));

            Application.quitting += OnExit;
        }
예제 #3
0
        private void OnEnable()
        {
            launcherConfig = DeploymentLauncherConfig.GetInstance();
            projectName    = GetProjectName();

            if (launcherConfig != null && projectName != null)
            {
                launcherConfig.SetProjectName(projectName);
                EditorUtility.SetDirty(launcherConfig);
                AssetDatabase.SaveAssets();
            }

            spinnerMaterial = new Material(Shader.Find("UI/Default"));

            Application.quitting += OnExit;
        }