Links
If you’ve never used Unity or if you are still really green, read this article: Introduction to Unity: Getting Started
Next Video: Operators
Previous Video: Variables
Challenge
Create a new script and call it Mad Libs
. Add four variables:
myName
– string
favoriteFood
– string
amount
– double
likesToShare
– bool
Have OnDisable()
print out the following sentence:
myName
loves to eat amount
servings of favoriteFood
per day. Likes to share? likesToShare
Challenge Solution
Resources
Download Starter Challenge
Download Finished Challenge
Download Starter Demo
Download Finished Demo
The post Screencast: Beginning C# Part 3: Types appeared first on Ray Wenderlich.