This belongs at the end of a statement. Often times, it is referred to as the period in code.
What is a ;?
This method updates every frame after the game starts
What is void Update()
This variable stores a whole number
What is an int?
What is a component?
The function where you have to repeatedly tap a button on your keyboard to continue an action. (example, player shooting projectiles)
what is Input.GetKeyDown()?
This is the most basic conditional statement.
Example: Condition A=true, then, player will move left.
What is an if statement?
This method runs once during the first frame and does not update.
What is void Start()
This variable stores a decimal number
What is a float?
This is where all the game objects lie in Unity. It's also on the left side of the layout. Unless you changed the layout
What is Hierarchy?
The function where you have to hold a button on your keyboard to continue an action. (example, player walking)
what is Input.GetKey()?
This extends from the basic conditional statement. But only if the previous and all blocks do not run.
What is an else statement?
This method is used to detect if an object has been hit with another object
what is OnCollisionEnter2D()
This variable stores x,y,z and can be used to change the player's current postion
What is a vector3?
This is a game object that allows you to see your game. Without it, you can't see anything.
What is a Camera?
This is made from dragging the gameobject from the hierarchy to the assets folder
What is a prefab (short for prefabricated object)?
for (int i=0; i<enemy.Length; i++){
};
what is a for loop?
This is a method used to get rid of an object. This object no longer exists
What is Destroy()
This variable stores components, and materials. (Hint: your player)
What is a GameObject
This displays information about the object, and you can add components to it. You can also change the values of the variables from the script.
What is an inspector?
This data type is used to allow code to run or prevent running depending on if the condition is true or false.
What is a bool?
The operator that checks to see if one statement matches another statement in an if statement. What is that operator called?
What ==?
This function allows you to take any components from Unity's inspector.
What is GetComponent<>
This variable type stores multiple data objects or data
what is an array or list?
This is everything in a scene. For example a player, an enemy, gems. What is the general term for this?
what is a game object?
This goes inside the parentheses of a function. For example void OnCollisionEnter2D(Collision collision){
}
What is the general name of the bolded statement?
What are parameters?