예제 #1
0
 void Update()
 {
     ShowMoney.text = Global.money.ToString();
     if (Global.stick)
     {
         Stick.SetActive(true);
     }
     if (Global.sword)
     {
         Sword.SetActive(true);
     }
     if (Global.shield)
     {
         Shield.SetActive(true);
     }
     if (Global.stout)
     {
         Stout.SetActive(true);
     }
 }