Esempio n. 1
0
        static void OnOpenWindow()
        {
            AchievementDisplay tm = EditorWindow.GetWindow <AchievementDisplay>(true, "Achievements");

            tm.minSize = new Vector2(680, 100);
            tm.Show();
        }
Esempio n. 2
0
        static void OnOpenWindowMessage()
        {
            AchievementDisplay tm = EditorWindow.GetWindow <AchievementDisplay>(true, "congrat");

            tm.minSize = new Vector2(600, 100);
            tm.Show();
        }