Exemplo n.º 1
0
        public static void Initialize()
        {
            keyDic = Addressables.ResourceLocators[0].Keys.ToDictionary(key => key.ToString(), key => true);

            BothAnimManager.Init();
            RoleUpgradeDataAsset.GetAsset();
            ItemManager.Init1();

            WalkOnGroundEffectController.LoadRes();
        }
Exemplo n.º 2
0
//        [RuntimeInitializeOnLoadMethod]
        public static async void GetAsset()
        {
            s_RoleUpgradeDataAsset = await AssetManager.LoadAssetAsync <RoleUpgradeDataAsset>("Manager/RoleUpgradeDataAsset.asset");
        }