Example #1
0
        public void OnEnable()
        {
            m_Banner = Resources.Load <Texture2D>(string.Format("{0}/{1}", EditorStyles.ThemeFolder, EditorStyles.BANNER_LOGO));

            searchResultBackground = EditorPrefsUtils.LoadColor(EditorPrefKeys.KEY_BACKGROUND_COLOR, EditorStyles.DefaultBackgroundColor);
            searchResultText       = EditorPrefsUtils.LoadColor(EditorPrefKeys.KEY_TEXT_COLOR, EditorStyles.DefaultTextColor);
        }
Example #2
0
        public static void Reset()
        {
            m_SmallButtonWidth  = null;
            m_MediumButtonWidth = null;
            m_Header            = null;
            m_SearchResult      = null;

            BackgroundColor = EditorPrefsUtils.LoadColor(EditorPrefKeys.KEY_BACKGROUND_COLOR, DefaultBackgroundColor);
            TextColor       = EditorPrefsUtils.LoadColor(EditorPrefKeys.KEY_TEXT_COLOR, DefaultTextColor);
        }