示例#1
0
    private void OnGUI()
    {
        mTabIndex = GUILayout.Toolbar(mTabIndex, tableNames, GUILayout.Width(700), GUILayout.Height(30));
        switch (mTabIndex)
        {
        case INDEX_TAB_AB:
            ABBuilderWindow.Draw();
            break;

        case INDEX_TAB_DATABASE:
            DrawResGenaerteView();
            break;

        case INDEX_TAB_CONFIGS:
            DrawBuidingAnimConfig();
            break;
        }
    }