Beispiel #1
0
 private void buy()
 {
     if (UserUnlockable.getMoney() >= value)
     {
         UserUnlockable.addMoney(-value);
         bought       = true;
         valueUI.text = "OWNED";
         UserUnlockable.saveWeapon(thisWeapon.getWeaponIndex(), true);
     }
 }
Beispiel #2
0
 private void Awake()
 {
     UserUnlockable.saveWeapon(0, true);
 }