Ejemplo n.º 1
0
        private static void Check()
        {
            bool   active    = EditorPrefs.GetBool(ReviewReminderWindow.activeKey, true);
            string lastCheck = EditorPrefs.GetString("lastCheck");

            if (active && lastCheck != System.DateTime.Today.ToString())
            {
                ReviewReminderWindow.ShowWindow();
            }
        }
Ejemplo n.º 2
0
        public static void ShowWindow()
        {
            ReviewReminderWindow window = EditorWindow.GetWindow <ReviewReminderWindow>(true);

                        #if UNITY_4_6 || UNITY_4_7 || UNITY_5_0
            window.title = "Review Reminder";
                        #else
            window.titleContent = new GUIContent("Review Reminder");
                        #endif
            Vector2 size = new Vector2(320f, 120f);
            window.minSize = size;
            window.maxSize = size;
        }
Ejemplo n.º 3
0
 public static void OpenReviewReminder()
 {
     ReviewReminderWindow.ShowWindow();
 }