示例#1
0
 void Awake()
 {
     selectedConsumable = 0;
     selectedAlly       = 0;
     playerConsumable   = new PlayerConsumable();
     allyInventory      = new AllyInventory();
 }
 public void SetConsumableInventory(PlayerConsumable consumable)
 {
     Debug.Log(player.name);
     this.playerConsumable = consumable;
     RefreshConsumableInventory();
 }