public static void Initialize() { keyDic = Addressables.ResourceLocators[0].Keys.ToDictionary(key => key.ToString(), key => true); BothAnimManager.Init(); RoleUpgradeDataAsset.GetAsset(); ItemManager.Init1(); WalkOnGroundEffectController.LoadRes(); }
// [RuntimeInitializeOnLoadMethod] public static async void GetAsset() { s_RoleUpgradeDataAsset = await AssetManager.LoadAssetAsync <RoleUpgradeDataAsset>("Manager/RoleUpgradeDataAsset.asset"); }