Unity Questions Flashcards

1
Q

Verify the Statement: in a Unity script, start may not be called on the same frame, if the script is not enabled at initialization time

A

The statement is valid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What game objects are primitive that can be created using Game Object.CreatePrimitive

A

Cube, Plane, Quad, Sphere

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How many layers does unity Generate?

A

Unity Generates 32 Layers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which value for GameObject.SetActive() in Unity, will make the GameObject active?

A

The value is True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In Unity, when objects are instantiated during game play, thier Awake function is called after the script functions of the scene objects have already completed

A

That is True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Select the method in GameObject in unity which adds a component class to the game object

A

AddComponent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is not a primitive that can be created using the GameObject.CreatePrimitive function In Unity

A

Square (2D objects)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which view in Unity simulates what your final rendered game will look like through your scene cameras

A

The Game view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Where are the play, pause, and step controls present on the Unity editor window interface?

A

The Project window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which module file format is not supported by Unity

A

Unity does not provide built in support for Cinema4D files. They should be exported from the proprietary software as .fbx files
Assets saved as .ma, .mb, .max, .c4d, or blend files fail to import unless you have the corresponding 3D modeling software installed on your computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What file formats are supported by Unity

A

Unity supports
Standard file formats: .fbx, .dae(Collada), .dxf, .obj.
These file formats are widely supported, they are often smaller than the proprietary equivalent, which makes your project size smaller, and faster to iterate over.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Proprietary file formats

A

You should not use Proprietary file formats in production, instead export to the .fbx format whenever possible
Unity can import proprietary files from certain 3D modeling software such as
Autodesk Maya
Blender
Modo
Cheetah3D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Applications that do not use. .fbx as an intermediary, Unity must convert them into. .fbx files before importing them into the editor. Such as

A

SketchUp
SpeedTree
Autodesk 3Ds Max

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

)) p

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the location of the button Unity Cloud, on Unity editor window?

A

The toolbar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the location of the button for Unity Collaborate on Unitys Editor window interface

A

The Toolbar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Which view in Unity can show a 3D or 2D perspective

A

The Scene

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

In a Unity script, Awake is called only if the script is enabled

A

The statement is invalid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

In a script, start is called exactly once in the lifetime of the script

A

This is correct

20
Q

In a Unity script, Awake is called only if the script is not enabled

A

This is incorrect

Awake is called whether the script is enabled or not

21
Q

In a Unity script, Awake is called when the script object is….

A

Initialized

22
Q

Awake is only called In unity if the script isn’t activated

A

Invalid. Awake is called even if the script is a disabled component of an active gameobject

23
Q

Where do you find the collaborate button in unity

A

In the Toolbar

24
Q

Adjustments done in the inspector during play mode are permanent

A

Flase. Anything done/changed in the inspector during play mode will not be saved.
Instead you can copy the edited properties of the component and paste them in after you exit play mode

25
Q

The following steps are used to create a navmesh from level geometry tagged as navigation static: Baking

A

That is true

You bake navmesh geometry

26
Q

The animation window veiw allows the keys of several objects to be displayed on horizontal tracks (Dope sheet)

A

That is true

27
Q

Drag determines the air resistance from forces influencing the GameObject in a rigid body component

A

That is true. Drag determine the air resistance from forces influencing the GameObject

28
Q

To make this animation placeholder in the animator window, first right click in any available spot. Create state - Empty

A

True

29
Q

In the unity editor, a prefab is an asset that stores a GameObject with components, scripts and properties

A

That is true

30
Q

When is The Unity editor is in this mode, which is indicated by the red play controls

A

Animation record- The animation window time line is tinted red when it is in this mode. Unity automatically creates key frames at the playback head when you move, rotate, or modify any property that can be animated on your GameObject

31
Q

Your project must be synced to a source control repository in order to use unity cloud build

A

That is true

32
Q

Create code that will refer to the position of the GameObject

A

Verctor3 pos = transform. Position
I’m unity you must define the position, rotation, and size of a game object in the game. Even an empty object has a transform component

33
Q

What button do you click to call the AudioSource.Play method

A

??? The speaker button???
Declaration
Public void Play(ulong delay = 0)

34
Q

Score accumulation, health, attacking are examples of

A

Game Mechanics.

Game mechanics are the rules that govern and guide the players actions, as well as the games response to them.

35
Q

What is The material property is a map that makes polygons appear the to have more surface detail then they actually have

A

Normal map material

36
Q

Distinguish between rewarded and simple ads

A

Rewarded ads cannot be skipped by default

Simple ads can be skipped

37
Q

A sprite is an image must be imported for an image component

A

True. Sprites are simple 2D objects that have graphical images. They have an x and y but no z width

38
Q

What is The animation window that the graph view displays animations

A

Curve editor. New feature in unity 5.1
Use the enter/return or context menu to start editing selected keys. Tab to switch between fields. Enter/return to commit, escape to cancel

39
Q

Which of the emit from options allows particles to come from any point within the emitter geometry

A

The Volume option

40
Q

A culling mask on a light component does what

A

It determines which layers are affected by the light

41
Q

Which component allows the canvas to resize in response to the size of the display

A

The canvas scaler

42
Q

What method does not return a value

A
The start() method
The start method is at the head of code that is run when the game is started. It is run only once
43
Q

What is A spherical light that radiates in every direction

A

The Point Light. A light that is located at a point in the scene and emits light in all directions equally

44
Q

A Spot light is located at a point in the scene and emits light in a cone shape

A

True

45
Q

Directional light is located far away and emits light in one direction only

A

True

46
Q

Light maps store data in which type of file

A

EXR
EXR file format, the professional grade image storage format if the motion picture industry
The purpose of the format is to accurately and efficiently represent high dynamic range scene linear image data and associated Metadata, with strong support for multipart