예제 #1
0
파일: Inventory.cs 프로젝트: Neusy/GGJ20
 public void repair(EnumPickUpType.PickUpType p, GameObject npc)
 {
     if (items[(int)p].repair())
     {
         npc.GetComponent <NPCStatus>().OnRepair();
     }
 }
예제 #2
0
파일: Inventory.cs 프로젝트: Neusy/GGJ20
 public void collect(EnumPickUpType.PickUpType p)
 {
     items[(int)p].collect();
 }
예제 #3
0
파일: Inventory.cs 프로젝트: Neusy/GGJ20
 public void use(EnumPickUpType.PickUpType p)
 {
     items[(int)p].use();
 }