C# Language Concepts
Creating Scripts
C# Coding Fundamentals
Game Loops and Functions
100

The human-like description of the exact logic and data that form the program. It is stored in text files on your computer.

What is Source Code

100
A Unity Script can be stored as a type of What?

What is an Asset

100

This is a group of functions that work together to perform a task

What is a Class

100

This is a set of functions or statements that will run repeatedly during the game

What is a Game Loop

200

This will read the text source code and produce the binary code in an executable file.

What is a Compiler

200

With this, you can link your script asset to a GameObject.

What is a Script component

200

This is used to mark the beginning and ending of a class or function block

What is { and }

200

This function will be called on each object when a scene initializes 

What is Start()

300

This is an example of a general-purpose programming language that will allow you to do many different things?

What is 

C#

 Java 

C++

Python

 JavaScript

300

True or False:

You can only have 1 script per GameObject

False

300

This is characters like spaces, tabs, carriage returns, or line-feeds that make your code easier to read

What is White-Space

300

This function is called repeatedly within your Game Loop

What is Update()

400

This is a powerful set of pre-written libraries and objects

.NET Framework

400

True of False:

You can open as many script files in Unity as you want

True

400

This lets the compiler know that we have reached the end of a code statement?

What is a semicolon

400

This statement allows you to display a comment to the console window.

What is Debug.Log()

500

This is an Integrated Development Environment that comes with Unity to let you write C# game scripts

Visual Studios

500

 If you change the script file name, you should also change the what?

What is "class " name

500

These two sets of symbols are used to start and end a multi-lined comment block.

What is  /* and */ 

500

This helps group together and identify related objects, often written by one person or company 

What is a namespace

M
e
n
u