• ¿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 3 fuera de 19 páginas
Examen

Unity Certified Programmer Book Mock test (with complete solutions)

Document preview thumbnail
Vista previa 3 fuera de 19 páginas

You have been asked to develop a horror survival game where your player relies on a pocket torch. Here is what you've coded so far: void Start() { Light playersTorch = GetComponentLight(); playersTMapBakeType = LightMapBakeType.Mixed; playersT = LightType.Area; playersTws = LightShadows.Soft; playersT = 5f; } You notice, however, that the player's torch isn't casting any light or shadows. What should you change for this code to work as desired? correct answers D) Set playersT to LightType.Point. You have started creating your first indie game, Super Moped Racer 64. You have coded your input controls to work with a joystick and started testing your moped around corners. You've noticed that after turning the moped around the first corner, the moped still turns even after you've let go of the joystick. You've checked your code and the joystick and both seem to be working fine, suggesting the issue is with the input manager. What change should you make within the input manager? correct answers Increase Deadzone. You have started to template a game framework with pen and paper. You have drawn up several manager scripts that will all lead to the creation of a single GameManager script. You only require one GameManager script, which will always be in your scene. Which design pattern suits having a GameManager script in a persistent instance role? correct answers Singleton You have been requested to create a prototype for a side-scrolling game where your player throws rocks at their enemies. The game works well and the camera moves from left to right until the level is over. To throw a rock, your code instantiates a prefab of a rock, which is then given a force (Rigidbody.AddForce) to launch the rock to give the illusion of the rock being thrown. Your lead developer says that your method is costing too much in-memory performance and wants you to store a maximum of 10 rocks from within an array of rocks using a design pattern. Once a rock is used, instead of being destroyed, it should return to the array. What design pattern is the developer referring to? correct answers Object Pool


Información del documento

Subido en
18 de mayo de 2023
Número de páginas
19
Escrito en
2022/2023
Tipo
Examen
Contiene
Preguntas y respuestas
$13.99

¿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.
SirAnton
3.7
(118)
Vendido
807
Seguidores
438
Artículos
40068
Última venta
3 semanas 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.