コード例 #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
        }
コード例 #2
0
ファイル: h2_Prefab.cs プロジェクト: chen13469990/Racing
        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
        }
コード例 #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
        }