• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 6 páginas
Examen

Unity Programmers Certification|2023 LATEST UPDATE|GUARANTEED SUCCESS

Document preview thumbnail
Vista previa 2 fuera de 6 páginas

pre-increment ++i post-increment i++ GetMouseButtonDown If pressed GetMouseButton If held down GetMouseButtonUp If released Mouse Button 0 left Mouse Button 1 Right Mouse Button 2 Middle Scene View You CAN change from 2d to 3D You CANNOT add gameobjects to the scene directly (must use hierarchy?) You CANNOT modify objects/components in the Scene View (Inspector) You CANNOT edit what Gizmos are visible (I don't understand these answers but this is what the practice exam said) ForceMode.Force applies continual forces that are impacted by mass ForceMode.Accelration applies continual forces that are NOT impacted by mass ForceMode.Impulse applies instant forces that are impacted by mass ForceMode.VelocityChange applies instant forces that are NOT impacted by mass Is Trigger Makes a collider not 'collide' but serve as a scripting trigger rigidbody.AddForce(Vector3 direction & magnitude, ForceMode) rigidbody.AddForce(rd * 50, ForceMode.Impulse) rigidbody.AddTorque(Vector3 * magnitude) rigidbody.AddTorque( * 200) Fixed Joint locks 2 rigidbodies together Spring Joint joint tries to return the rigidbody to a target position, set in the scene PhysicsRaycast(Vector 3 origin, Vector 3 direction, RaycastHit hitInfo, float distance, int LayerMask) PhysicsRaycast(ion, V, out Hit, deploymentHeight, int Player) Translate Takes a Vector 3. Moves every frame if in update. Often multiplied by a speed variable *T to make it move by meters per second opposed to frame Rotate Takes a Vector 3. Rotates every frame if in update. Often multiplied by a turnspeed variable *T to make it move by meters per second opposed to frame Add sliders to public variables [Range(1.0f, 10.0f)] Serialized Field Makes private variables appear in the inspector Normal Map Stores height and detail information for the sake of lighting without adding vertices to the object specular reflection a reflection produced by a smooth surface in which parallel light rays are reflected in parallel (opposed to metallic) Height Map Gives the surface its variable height occlusion map Defines how reflective/specular recessed areas are ANISO level forced quality of rendered textures based on angle of viewing. Is costly and can be forced on/off Shader a software file that specifies the look of a three-dimensional object or character. Shader is used by the material, alongside textrues, to deine the appearnace of an object. Frame Debugger Allows you to see ow a frame is made. Includes draws (mesh rendering), clears (adding background colors), and lighting instantiate Creates clones of a game object, typically a Preb Instantiate(projectile, barrelEion, barrelEion) Spawns at empty gameobject. To add force, create : Rigidbody projectileInstance; Instantiate(projectile, barrelEion, barrelEion) as Rigidbody; projectileInstance.AddForce(barrelE * 350f) Destroy(GetComponentRigidbody()); You can destroy individual components. Adding a second arguement can add a delay gameObject.SetActive(false); Turns a game object off Profiler Allows user to see overall performance (CPU/GPU etc.) FixedUpdate vs Update Update is once per set frame. FixedUpdate is based on the physics engine and can be set to work in the context of the speed of the game. Best rule: read inputs in Update, move physics in FixedUpdate for(int i = 0; i 5; i++) A for loop . for as long as (set i to 0, loop condition of 5 times, at the end of each loop add +1) while(enemyCount 0) A while loop. As long as the condition is met, execute do { action} while(isAlive == true); Do while. This will do the {action} as long as the 'while' condition is met Arrays


Información del documento

Subido en
27 de mayo de 2023
Número de páginas
6
Escrito en
2022/2023
Tipo
Examen
Contiene
Preguntas y respuestas
$18.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GUARANTEEDSUCCESS
4.3
(254)
Vendido
698
Seguidores
314
Artículos
24783
Última venta
4 días hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes

Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.