7
Unity 3D with C# Group members: Attiq ur Rehman BCSF13M007 Usama Hassan Alvi BCSF13M046 Presentation Link: https://www.youtube.com/watch? v=rc7d1JqoEw0&feature=share

Unity 3 d-with-c

Embed Size (px)

Citation preview

Page 1: Unity 3 d-with-c

Unity 3D with C#

Group members:Attiq ur Rehman BCSF13M007

Usama Hassan Alvi BCSF13M046

Presentation Link:https://www.youtube.com/watch?v=rc7d1JqoEw0&feature=share

Page 2: Unity 3 d-with-c

Multiple Choice Questions

1) What is Unity 3D?

a) Search Engineb) Browserc) Gaming Engined) Media Player

2) Is Unity 3D a cross platform?

a) YESb) NO

3) What is a cross platform?

a) multi connectionb) multi compatiblec) multi taskd) multi process

4) What tools Unity 3D used for programing?

a) unity script(java script)b) C#c) None of the aboved) Both a and b

5) What API’s Unity 3D used?

a) Direct3Db) OpenGLc) OpenGL ESd) All of the above

6) Where is it essential to install unity web Player?

a) Web Browsersb) Androidc) IOsd) Mac

Page 3: Unity 3 d-with-c

7) What is Unity web Player?

a) Media Playerb) Game Playerc) Plugind) None

8) Is Unity only used for developing 3D games?

a) YESb) NO

9) Who develop Unity?

a) Microsoftb) IBMc) Appled) Unity Technologies

10) Unity is written in which programing Language?

a) JAVAb) C, C++c) C#d) Python

11) Can threads be used to modify a Texture on runtime?a) No. Unity doesn’t allow other threads, besides the main one, to make modifications on these

kinds of data.

b) Yes, Because Texture and Meshes are examples of elements stored in GPU memory

12) Can threads be used to move a GameObject on the scene?

a) No. Fetching the Transform reference isn’t thread safe in Unity.

b) Yes, Because Fetching the Transform reference is thread safe in Unity

.

13) Can two GameObjects, each with only a sphere collider, both set as trigger and raise OnTrigger events?

a) No. Collision events between two objects can only be raised when one of them has a RigidBody attached to it.

b) Yes. Collision events between two objects can be raised when one of them has a RigidBody attached to it.

Page 4: Unity 3 d-with-c

14) Which of the following examples will run faster?

a) 1000 GameObjects, each with a MonoBehaviour implementing the Update callback.

b) One GameObject with one MonoBehaviour with an Array of 1000 classes, each implementing a

custom Update callback.

15) Arrange the event functions listed below in the order in which they will be

invoked when an application is closed:

Update() ;OnGUI() ;Awake() ;OnDisable() ;Start() ;LateUpdate()

OnEnable() ;OnApplicationQuit() ;OnDestroy()

a) Awake(); OnEnable(); Start(); Update(); LateUpdate();

OnGUI(); OnApplicationQuit(); OnDisable(); OnDestroy()

b) OnGUI(); OnApplicationQuit(); OnDisable(); OnDestroy()

Awake(); OnEnable(); Start(); Update(); LateUpdate();

16) Why vectors should be normalized when used to move an object.

a) Normalization makes the vector unit length.b) Normalization makes the vector auto increment/decrement.

17) What is vertex shader?

a) Vertex shader is a script that runs for each vertex of the meshb) Vertex shader is a script that runs for each fragment of the mesh

18) What a pixel shader?

a) Pixel shader is a script that runs for each fragment after three vertexes are processed in a mesh’s triangle.

b) Pixel shader is a script that runs for each pixel of the vertex.

19) What is the role of inspector panel in the Unity editor?

a) The inspector panel allows users to modify numeric values drag and drop references of scene

objects

Page 5: Unity 3 d-with-c

b) It shows all the available scripts, textures, materials and shaders available for use in the project.

20) What is the role of project panel in the Unity editor?

a) It shows all the available scripts, textures, materials and shaders available for use in the project.

b) The inspector panel allows users to modify numeric values drag and drop references of scene

objects

REFERENCES: https://www.youtube.com/watch?v=12Ste_E1Q7g http://www.slideshare.net/ibjects/unity-3d-basics http://www.slideshare.net/sasmaster/unity3d-programming-5725801 https://en.wikipedia.org/wiki/Unity_(game_engine)