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; }
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; }