1
This commit is contained in:
@@ -86,9 +86,9 @@ namespace BITFALL.UX
|
||||
{
|
||||
seleableLabel.SetActive(false);
|
||||
}
|
||||
private async void OnPlayerInitializedLocalPlayer(IEntity entity)
|
||||
private async void OnPlayerInitializedLocalPlayer(IUnityEntity unityEntity)
|
||||
{
|
||||
entity.Inject(this);
|
||||
unityEntity.Inject(this);
|
||||
|
||||
|
||||
_health.OnSetAlive += OnSetAlive;
|
||||
@@ -113,7 +113,7 @@ namespace BITFALL.UX
|
||||
playerAvatarImage.SetTexture(avatar);
|
||||
}
|
||||
|
||||
_equipService = entity.Get<IEquipService>();
|
||||
_equipService = unityEntity.Get<IEquipService>();
|
||||
|
||||
armorBar.SetActive(_armor.TryGetCurrentArmor(out _));
|
||||
|
||||
|
Reference in New Issue
Block a user