Exemple #1
0
    protected override void InstanceInit()
    {
        base.InstanceInit();
#if !AB_MODE && !UNITY_EDITOR
        CommonLog.Log($"目前处于非AB模式");
#endif
        if (!IsInit)
        {
/*#if UNITY_EDITOR
 *          USED_AB_MODE = UnityEngine.PlayerPrefs.GetInt("AB_MODE", 0) == 1;
 #else*/
            USED_AB_MODE = true;
//#endif
            //GameObjectPool.InitPool();
            UnityFileLoaderHelper.InitForMainThread();
            UnityFileLoaderHelper.USED_AB_MODE = USED_AB_MODE;
            IsInit = true;
        }
    }