Esempio n. 1
0
    public static void UNLOAD_LAYOUT(LAYOUT_TYPE type)
    {
        CommandLayoutManagerUnloadLayout cmd = mCommandSystem.newCmd <CommandLayoutManagerUnloadLayout>(true, false);

        cmd.mLayoutType = type;
        mCommandSystem.pushCommand(cmd, mLayoutManager);
    }
Esempio n. 2
0
    public static void UNLOAD_LAYOUT_DELAY(LAYOUT_TYPE type, float delayTime)
    {
        CommandLayoutManagerUnloadLayout cmd = mCommandSystem.newCmd <CommandLayoutManagerUnloadLayout>(true, true);

        cmd.mLayoutType = type;
        mCommandSystem.pushDelayCommand(cmd, mLayoutManager, delayTime);
    }
Esempio n. 3
0
    public static void UNLOAD_LAYOUT(LAYOUT_TYPE type)
    {
        // 需要首先强制隐藏布局
        HIDE_LAYOUT_FORCE(type);
        CommandLayoutManagerUnloadLayout cmd = newCmd(out cmd, true, false);

        cmd.mLayoutType = type;
        pushCommand(cmd, mLayoutManager);
    }