Esempio n. 1
0
 public PickupSystem(
     Player.Inventory inventory,
     PickupNotification notification)
 {
     _inventory    = inventory;
     _notification = notification;
 }
Esempio n. 2
0
 public void Subscribe(Player.Inventory inventory)
 {
     inventory.OnSlotChanged += OnInventoryChanged;
 }
Esempio n. 3
0
 void Awake()
 {
     player          = GameObject.FindGameObjectWithTag(Tags.player);
     playerInventory = player.GetComponent <Player.Inventory>();
 }     // Awake