예제 #1
0
 public void Craft()
 {
     if (GameController.resources >= schematic.cost)
     {
         schematic.Craft(GameController.players[0]);
         menuController.Return();
         if (schematic.singleUse)
         {
             Destroy(gameObject);
         }
     }
 }