static void OnOpenWindow() { AchievementDisplay tm = EditorWindow.GetWindow <AchievementDisplay>(true, "Achievements"); tm.minSize = new Vector2(680, 100); tm.Show(); }
static void OnOpenWindowMessage() { AchievementDisplay tm = EditorWindow.GetWindow <AchievementDisplay>(true, "congrat"); tm.minSize = new Vector2(600, 100); tm.Show(); }