Level 5: Introduction to Scripting
10/29/19 - Level 5 Review (My Variables Story)
Assignment:
Once upon a time, there lived a man named ___________ (so for the variable here, the user would be enter in the characters name). You will also insert variables where operators will be used in calculations for your story. For example: Maximus had ______ boys and ________ girls for a total of ________ total children. (variables here would be used to entered the number of boys, number of girls, and one for the addition of the first two). Your story should be 6-8 sentences long. For variables, you must have:
The story should run when the cube is enabled. Because the story will not fit in the Console window, please insert your code like this when printing it out: Debug.Log ("Sentence One of Your Story"); Debug.Log ("Sentence Two of Your Story"); Debug.Log ("Sentence Three of Your Story"); And so on.... Make sure your story has no spacing issues when ran. Insert comments above your story stated (1) the name of the story (2) your first and last name (3) Period Number There are no answers to check here on the front whiteboard because this is a custom assignment. Have fun with this story and show me you are getting this coding stuff! Good luck! |