Beispiel #1
0
    void Start()
    {
        if (!GlobalRef.Init())
        {
            return;
        }

        CreateCommonUI();

        StartCoroutine(GlobalRef.AssetMgr.GetAB(AppConst.AB_MAIN, CreateMainUI));
    }
Beispiel #2
0
    void Start()
    {
        AppConst.PrintPath();

        if (!GlobalRef.Init())
        {
            Utility.LogError("Globalref init failed");
            return;
        }

        StartCoroutine(GlobalRef.AssetMgr.GetAB(AppConst.AB_COMMON, CreateCommonUI));
    }
Beispiel #3
0
    void Start()
    {
        if (!GlobalRef.Init())
        {
            return;
        }

        CreateCommonUI();

        // string[] abList = new string[]{"sprite_battle", AppConst.AB_BATTLE };
        string[] abList = { "sprite_battle", AppConst.AB_BATTLE };
        StartCoroutine(GlobalRef.AssetMgr.GetABList(abList, CreateBattleUI));
    }