Esempio n. 1
0
        public void Load()
        {
            if (m_Loaded)
            {
                return;
            }

            m_Loaded = true;

            this.m_event = Event.KeyboardEvent(m_Shortcut);
            PrefKey pk = PrefSettings.Get(m_name, this);

            this.m_name  = pk.Name;
            this.m_event = pk.KeyboardEvent;
        }
Esempio n. 2
0
        public void Load()
        {
            if (m_Loaded)
            {
                return;
            }

            m_Loaded = true;

            PrefColor pk = PrefSettings.Get(m_Name, this);

            this.m_Name              = pk.m_Name;
            this.m_Color             = pk.m_Color;
            this.m_SeparateColors    = pk.m_SeparateColors;
            this.m_OptionalDarkColor = pk.m_OptionalDarkColor;
        }