Update preview frame

This commit is contained in:
HungDK
2025-11-24 16:41:54 +07:00
parent adf642e027
commit cf68b52f83
2 changed files with 8 additions and 8 deletions
@@ -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()
{
+2 -2
View File
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1734bc3bbb9d9f31e15fcc30adbcaa1f1906731462eb6f3f8866fd891c6d7bfa
size 195024
oid sha256:dd6a5487d45e92fbbfd38167c3c3119dac0b4d87ec25b335e62d3fa7f59ab98c
size 215453