public virtual void LaunchAbout() { InfoDialogue dialogue = EditorWindow.GetWindow <InfoDialogue>( true, _projectName); dialogue.Init(Resources.Load(_bannerLocation) as Texture2D, _versionInfo, Application.dataPath + _documentationLocation, _projectID, true ); }
void Update() { if (EditorPrefs.GetBool("PCTK/" + _projectID + "/IntroDialogueLaunched") == false) { EditorPrefs.SetBool("PCTK/" + _projectID + "/IntroDialogueLaunched", true); InfoDialogue dialogue = EditorWindow.GetWindow <InfoDialogue>( true, _projectName); dialogue.Init(Resources.Load(_bannerLocation) as Texture2D, _versionInfo, Application.dataPath + _documentationLocation, _projectID ); } else { EditorApplication.update -= Update; } }