1
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"defineConstraints": [
|
||||
"STEAMWORKS_NET"
|
||||
],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
@@ -8,7 +8,6 @@ using BITKit;
|
||||
using BITKit.Entities;
|
||||
using BITKit.Steamwork;
|
||||
using UnityEngine;
|
||||
using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace BITFALL.Entities.Cosmetic
|
||||
{
|
||||
@@ -22,8 +21,8 @@ namespace BITFALL.Entities.Cosmetic
|
||||
public override async void OnStart()
|
||||
{
|
||||
base.OnStart();var items =await steamService.GetInventoryItemDefsAsync(destroyCancellationToken);
|
||||
Cosmetics = items.Select(itemDef => Addressables.LoadAssetAsync<ICosmetic>(itemDef.AddressablePath).WaitForCompletion()).ToArray();
|
||||
OnCosmeticsChanged?.Invoke();
|
||||
//Cosmetics = items.Select(itemDef => Addressables.LoadAssetAsync<ICosmetic>(itemDef.AddressablePath).WaitForCompletion()).ToArray();
|
||||
//OnCosmeticsChanged?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user