Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch (args.Result.Text)
- {
- case "switch one":
- status.text="Room 1 light switched"; //Error here
- break;
- case "switch two":
- status.text="Room 2 light switched"; //Error here
- break;
- default:
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement