Gmetrix Unity Certified User Programmer (Update 2022)|GUARANTEED SUCCESS
Semicolon Every line of C# is called a statement and must end with a ______ to separate them for the code complier process public int myAge = 16; Variable a tiny section of your computer's memory that holds an assigned value. Every variable keeps track of where its information is stored (this is called a memory address), its value, and its type (for instance, numbers, words, or lists). Operators A symbol that tells the compiler to perform specific mathematical or logical manipulations. Methods can perform an operation and return the result. For instance, a _______ can add numbers, return the sum, and store the sum in a variable. Control-Flow One of the central duties of a computer is to control what happens when predetermined conditions are met. When you click on a folder, you expect it to open; when you type on a keyboard, you expect the text to mirror your keystrokes. Writing code for applications or games is no different - they both need to behave in a certain way in one state and in another when conditions change. Selection Statement The if-else and switch selection statements allow you to specify branching paths, based on one or more conditions, and the actions you want to be taken in each case. They include the following - Detecting user input - Evaluating expressions and Boolean logic - Comparing variables or literal values if-else statement is the most common way of making decisions in code. For example, if my condition is met, execute this block of code; if it's not, execute this block of code. Arrays _______ are the most basic collection that C# offers. Think of them as containers for a group of values, called elements in programming terminology, each of which can be accessed or modified individually - _____ can store any type of value; all the elements need to be of the same type Lists collecting multiple values of the same type in a single variable. They are much easier to deal with when it comes to adding, removing, and updating elements, but their elements aren't stored sequentially. This can, sometimes lead to a higher performance cost over arrays Performance cost refers to how much of a computer's time and energy a given operation takes up. Dictionaries To initialize a dictionary with key-value pairs, do the following - Use a pair of curly brackets at the end of the declaration - Add each element within its pair of curly brackets, with the key and the value separated by a comma - Separate elements with a comma, except the last element where the comma is optional Classes blueprints for objects and can be treated as custom variables and are reference types Structs are like classes, they are blueprints for objects, the difference is that they are value types OOP Object Oriented Programming is the concept of using objects as parent containers made up of multiple components Where is OnTriggerEnter called? In the FixedUpdate What does the Hierarchy window contain? A list of every GameObject in the current scene What is the topmost GameObject on the Hierarchy called? What are the GameObjects below called? the Parent/ Children or ChildObjects What does the Game View Window display? A representation of our game when running in Play Mode. What does the display drop-down may do? It allows us to select different values to see how it will look on devices with different aspect ratios and resolutions. You wouldn't want distortion or a menu to be cut off. Scale slider Allows you to zoom in and examine areas of the Game View Window in more detail. Stats button Toggles the statistics overlay containing rendering statistics about our game's audio and graphics to monitor the performance of our game while in play mode. What does the Gizmos button do? It enables the visibility of gizmos, used to give visual debugging or setup aids in the game view. Project window allows us to easily access and manage all our assets in our project. = operator Assigns the value of the right-hand operand to the object denoted by the left-hand operand. How is an operator null? If the variable does not use an assignment operator, such as =, then the variable is null. > Greater than < Less than >= Greater than or equal to <= Less than or equal to == Equal to != Not equal to ! Not && And II Or ++ (example i++) Increments by 1 -- (example i--) Decrements by 1 % Remainder, also known as Modulus Where can scripted variables be edited? They can edited in the Inspector window; however, the access modifiers must be declared as public for them to appear in the Inspector window (True or False) A variable is declared private. It appears in the inspector menu. False
Escuela, estudio y materia
- Institución
- Gmetrix Unity Certified
- Grado
- Gmetrix Unity Certified
Información del documento
- Subido en
- 27 de mayo de 2023
- Número de páginas
- 9
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
gmetrix unity certified user programmer update 2022|guaranteed success
Documento también disponible en un lote