示例#1
0
 private void OnEnable()
 {
     for (int i = 0; i < slots.Length; i++)
     {
         backpack.AddSolt(slots[i], true);
     }
 }
示例#2
0
 private void OnTriggerStay2D(Collider2D collision)
 {
     if (MyInput.isButtonDown)
     {
         UIManager.Dialogue(text);
         slot.SetActive(true);
         backpack.AddSolt(slot, true);
     }
 }
示例#3
0
 private void OnEnable()
 {
     backpack.AddSolt(slot, true);
     UpdateItems();
 }