예제 #1
0
 void BuyItem()
 {
     if (storage2.exhibits.Count > 0)
     {
         storage2.DeleteExhibit(1, this.transform);
         transform.GetChild(1).gameObject.SetActive(true);
     }
     Invoke("Leave", 2);
     Invoke("DeleteNPC", 7);
 }