private void _SetEquipment(IEquipmentNotifier obj) { _Equipment.Set(obj); if (_InventoryController != null) { _InventoryController.Refresh(); } }
private void _SetInventoryController(IInventoryController obj) { _ReleaseController(); _InventoryController = obj; _InventoryController.EquipItemsEvent += _Reflush; _InventoryController.Refresh(); }
private void _SetInventoryController(IInventoryController obj) { _InventoryController = obj; _InventoryController.BagItemsEvent += _RefreshBag; _InventoryController.EquipItemsEvent += _RefreshEquip; _InventoryController.Refresh(); }
void OnEnable() { if (_InventoryController != null) { _InventoryController.Refresh(); } }
private void _SetInventoryController(IInventoryController obj) { _ReleaseController(); _InventoryController = obj; _InventoryController.BagItemsEvent += _InventoryNotifier_AllItemEvent; _InventoryController.Refresh(); }
private void _SetInventoryController(IInventoryController obj) { _ReleaseController(); _InventoryController = obj; _InventoryController.EquipItemsEvent += _Reflush; _InventoryController.Refresh(); }
private void _SetInventoryController(IInventoryController obj) { _InventoryController = obj; _InventoryController.BagItemsEvent += _RefreshBag; _InventoryController.EquipItemsEvent += _RefreshEquip; _InventoryController.Refresh(); }
private void _SetInventoryController(IInventoryController obj) { _ReleaseController(); _InventoryController = obj; _InventoryController.BagItemsEvent += _InventoryNotifier_AllItemEvent; _InventoryController.Refresh(); }