Example #1
0
 public void RemoveBag(Bag bag)
 {
     bags.Remove(bag);
     Destroy(bag.MyBagScript.gameObject);
 }
Example #2
0
 public void AddBag(Bag bag, BagButton bagButton)
 {
     bags.Add(bag);
     bagButton.MyBag = bag;
 }