Guest User

Untitled

a guest
Jul 15th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. function Homes() {
  2. if (button.name == "Cardboard Box" && money > 10) {
  3. Debug.Log("Removing " + house + " adding" + button.name);
  4. money -= 10;
  5. house = "Cardboard";
  6. }else if (button.name == "Wood Shack" && money > 200) {
  7. money -= 200;
  8. house = "Wood Shack";
  9. }
  10.  
  11. public void Level_Load (UnityEngine.UI.Button button) {
  12. Debug.Log(button.name);
  13. }
Add Comment
Please, Sign In to add comment