Update preview frame
This commit is contained in:
@@ -55,17 +55,17 @@ namespace BrewMonster.Scripts.UI.Inventory
|
||||
EnsureCameraBindings();
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
/*private void OnEnable()
|
||||
{
|
||||
EventBus.Subscribe<PlayerEquipmentChangedEvent>(OnEquipmentChanged);
|
||||
QueueRefresh();
|
||||
}
|
||||
}*/
|
||||
|
||||
private void OnDisable()
|
||||
/*private void OnDisable()
|
||||
{
|
||||
EventBus.Unsubscribe<PlayerEquipmentChangedEvent>(OnEquipmentChanged);
|
||||
DestroyPreviewInstance();
|
||||
}
|
||||
}*/
|
||||
|
||||
private void LateUpdate()
|
||||
{
|
||||
@@ -103,13 +103,13 @@ namespace BrewMonster.Scripts.UI.Inventory
|
||||
_refreshQueued = true;
|
||||
}
|
||||
|
||||
private void OnEquipmentChanged(PlayerEquipmentChangedEvent evt)
|
||||
/*private void OnEquipmentChanged(PlayerEquipmentChangedEvent evt)
|
||||
{
|
||||
if (hostPlayer != null && evt.Player == hostPlayer)
|
||||
{
|
||||
QueueRefresh();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
private void TryBindHostPlayer()
|
||||
{
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1734bc3bbb9d9f31e15fcc30adbcaa1f1906731462eb6f3f8866fd891c6d7bfa
|
||||
size 195024
|
||||
oid sha256:dd6a5487d45e92fbbfd38167c3c3119dac0b4d87ec25b335e62d3fa7f59ab98c
|
||||
size 215453
|
||||
|
||||
Reference in New Issue
Block a user