Asset Management Flashcards

1
Q

What are Prefabs

A

Prefabs are a special type of component that allows fully configured GameObjects to be saved in the project for reuse
These assets can then be shared between scenes, or even other projects without having to be configured again

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

What are prefabs good for

A

Prefabs are good for objects that will be used multiple times such as Characters, platforms, items such as potions or coins/collectable currency, weapons such as bullets and more

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

Creating prefabs

A

Prefabs can be created by dragging an object from the hierarchy view/window to the project window.
Prefabs appear blue in the hierarchy window

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

Scenes in Unity

A

Scenes contain the objects of your game.

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

What can scenes be used for

A

Scenes can be used to create a main menu, individual levels, and anything else. Each unique scene file is like an unique level. In each scene you will place your environments, obstacles, Characters, decorations, and essentially anything you that will be designed and built in your game in pieces

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

Loading a scene in unity

A

Scenes can be manually loaded in unity via the project window, assets, scenes

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

SceneMananger.LoadScene
Declaration
Public static void LoadScene(int sceneBuildIndex, SceneManagement.LoadSceneMode mode = LoadSceneMode.Single);

A

Declaration

Public static void LoadScene(string sceneName, SceneManagement.LoadSceneMode mode = LoadSceneMode.Single) ;

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

SceneMananger.LoadScene

Loads the Scene by its name or index in Build Settings.

A

The Asynchronous LoadSceneAsync avoids pauses or performance hiccups while loading.

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

UnityEngine.SceneManager needs to be called at the top of the script to use the SceneMananger.LoadScene method

A

True

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

Saving a Scene in unity

A

To save changes to the scene, select Save Scene from the File menu, or hit ctrl/cmd and s for the save shortcut.
This saves the current changes to the scene and does a save project, Ie, everything is saved

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

Saving the scene

A

Saving changes saves everything in the scene including, hierarchy gameObjects, scripts, changes made in the inspector and more.
You can also save your unity editor layout

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

Save the project settings

A

All the settings for each of the project settings menu items, such as custom input axes, user defined tags or layers, and the physics gravity strength are saved when you Save Project.

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