Unit Control Systems in Unity

Unit Control Systems in Unity

Assessment

Interactive Video

Computers

9th - 10th Grade

Practice Problem

Hard

Created by

Liam Anderson

FREE Resource

This video tutorial covers unit selection and control in Unity ECS. It begins with an introduction to the concept, followed by setting up the scene and spawning entities. The tutorial then delves into handling mouse input for unit selection, creating a visual representation of the selection area, and implementing logic for selecting units while managing overlaps. Finally, it demonstrates how to issue move commands to selected units, ensuring they move to dynamically generated positions without overlapping.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary goal of the video tutorial?

To implement a physics engine in Unity

To design a user interface in Unity

To develop a unit selection and control system in Unity ECS

To create a 3D model in Unity

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What components are initially set up for the basic unit?

Position and health

Position and movement

Health and attack

Movement and attack

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the selection area defined in the unit selection system?

By using keyboard input

By using mouse input to draw a selection box

By using voice commands

By using a joystick

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What visual feedback is added to the selection system?

A vibration feedback

A sound effect

A color change

A visual selection area

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the system handle overlapping units during selection?

By selecting units randomly

By ignoring overlapping units

By selecting only one unit if they overlap

By selecting all units in the area

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What input is used to give movement orders to the units?

Left mouse button

Right mouse button

Keyboard arrow keys

Spacebar

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are the target positions for unit movement generated?

In a fixed grid pattern

Based on unit health

Dynamically around a target position

Randomly across the map

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?