Beispiel #1
0
        internal override void Reset()
        {
            enableIcon     = false;
            enableShortcut = false;

            stateTexture = new h2_StateTexture
            {
                states = GetH2Textures(ICONS)
            };

            shortcuts = h2_Shortcut.FromStrings(SHORTCUTS);
            //h2_Utils.DelayRepaintHierarchy();
#if H2_DEV
            Debug.Log("RESET LOCK");
#endif
        }
Beispiel #2
0
        internal override void Reset()
        {
            enableIcon     = true;
            enableShortcut = true;

            stateTexture = new h2_StateTexture
            {
                states = GetH2Textures(ICONS, THEME_COLORS)
            };

            shortcuts = h2_Shortcut.FromStrings(SHORTCUTS);
            h2_Utils.DelayRepaintHierarchy();

#if H2_DEV
            Debug.Log("RESET PREFAB");
#endif
        }
Beispiel #3
0
        internal override void Reset()
        {
            enableIcon     = true;
            enableShortcut = false;
            lineOnParent   = false;

            stateTexture = new h2_StateTexture
            {
                states = GetH2Textures(TEXTURES, COLORS)
            };

            shortcuts = null;
            h2_Utils.DelayRepaintHierarchy();
#if H2_DEV
            Debug.Log("RESET ACTIVE");
#endif
        }