DMI1

DMI1

1st Grade

12 Qs

quiz-placeholder

Similar activities

BITMAP QUIZ

BITMAP QUIZ

1st Grade

9 Qs

mnby

mnby

1st Grade

13 Qs

Type of animation

Type of animation

1st - 3rd Grade

10 Qs

Football

Football

1st - 5th Grade

9 Qs

poppy playtime

poppy playtime

1st - 3rd Grade

11 Qs

Dasar Desain Grafis

Dasar Desain Grafis

1st - 5th Grade

15 Qs

EXAMEN DE ORTOGRAFÍA CUARTO BIMESTRE

EXAMEN DE ORTOGRAFÍA CUARTO BIMESTRE

1st Grade

15 Qs

Movies

Movies

1st - 10th Grade

15 Qs

DMI1

DMI1

Assessment

Quiz

Arts

1st Grade

Hard

Created by

LUIS JARAMILLO

Used 19+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Esta función permite mover un objeto en el eje X y Z, mientras que en Y se mantiene fijo:

float h = Input.GetAxis ("horizontal"); float v = Input.GetAxis ("vertical");

vector3 vector = new Vector (h, y, v ) ;

float h = Input.GetAxis ("Horizontal"); float v = Input.GetAxis ("Vertical");

Vector3 vector = new Vector3 (h, 1.5f, v ) ;

Input.GetAxis ("Horizontal");

Input.GetAxis ("Vertical");

Vector vector = new Vector (h, 1.5f, v ) ;

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Esté código permite establecer los segundos para el cronometro, iniciar un contador de puntos y desactivar botones:

TimeValue = 15s; Points = 0;

btnRestart.gameObject(false);

btnLevel.gameObject(false);

TimeValue = 15f;

Points = 0f;

btnRestart.gameobject.Setactive (false);

btnLevel.gameobject.Setactive(false);

TimeValue = 15; Points = 0;

btnRestart.gameObject.SetActive (false);

btnLevel.gameObject.SetActive(false);

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Esta función activa un botón al salir del collider

public void OnTriggerExit (Collider obj)

{

buttonNextLevel.gameObject.SetActive(true) ;

}

public void OnTriggerEnter (Collider obj)

{

buttonNextLevel.gameObject.(true) ;

}

public void OnTriggerexit (Collider obj)

{

buttonNextLevel.gameObject.SetActive(false) ;

}

public void OntriggerEnter(Collider obj)

{

buttonNextLevel.gameobject.Setactive(true) ;

}

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Este código sirve para contar coins, al entrar en el collider, desactivarlos y sumar puntos:

void OnTriggerExit(Collider obj) {

if (obj.gameObject == "coin")

obj.gameObject.SetActive (false);

score+ ; }

void OnTriggerExit(Collider obj) {

if (Obj.gameObject == "coin")

obj.gameObject.Setactive (false);

score+1 ; }

void OnTriggerEnter(Collider obj) {

if (obj.gameObject.tag == "coin")

obj.gameObject.SetActive (false);

score++ ; }

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Este código permite limitar el área de movimiento de un objeto en X & Z:

Rigidbody.position = new Vector

( Mathf.Clamp (rb.position.X, xMin, xMax),

6 y,

Mathf.Clamp (rb.position.Z, zMin, zMax ) ) ;

rigidbody.position = new Vector3 ( Mathf.Clamp (rb.position.x, xMin, xMax),

6.0f,

Mathf.Clamp (rb.position.z, zMin, zMax ) ) ;

rigidbody.position = new Vector

( Mathf.Clamp (rb, xMin, xMax),

6.0,

Mathf.Clamp (rb, zMin, zMax ) ) ;

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Lineas necesarias cuando se incluye texto, imágenes, botones, etc. Además de poder realizar cambios entre escenas.

using UnityEngine.UI;

using UnityEngine.SceneManagement;

using UnityEngine.Canvas;

using UnityEngine.LevelManager;

using UnityEngine.Interface;

using UnityEngine.SceneManager;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Código que permite realizar el efecto Parallax en una imagen :

GetComponent <Render>

().material.mainTextureOffset =

new Vector (0f, (Time * speed));

GetComponent <Renderer>

().material.mainTextureOffset =

new Vector2 (0f, (Time.time * speed));

GetComponent <Renderer>

().material.texture =

Vector3 (0f, (Time.time * speed));

GetComponent <Repeat>

().material.texture =

Vector2 (0f, (Time.time * Parallax));

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?