Unity Game Engine – Initial Setup – Folder Structure – Import New Asset

New Project folder

1. File> New Project> Setup default for… 3D> setup a path and a name for this project (example D:\Unity\Space-Shooter-001), IMPORTANT: you have to choose a empty folder!

Inside the folder Unity has created the folders:
– Assets
– Library
– ProjectSettings
– Temp

You can add a folder ‘Package’ and copy your .unitypackage
This in the better way to organize your folders in my opinion.
WARNING: If you import an .unitypackage from a removable flash drive you will get an error

Package .unitypackage

2. Assets> RMB> Import Package> Custom Package> select the package ‘name.unitypackage’
NOTICE: .unitypackage is a sort of .zip with all resource you need inside. The contain usually is meshes, textures, materials, physic, music, scripts and so on…

3. The importing windows appears, now you need to choose what you need> ‘Import’

4. Assets> differet folders appears, for example Audio – Materials – Models – Prefabs – Textures etc…

5. Inside the folder ‘Assets’ Unity has copied all content of .unitypackage and the decompress content is organized in different folders:
– Audio
– Materials
– Models
– Prefabs
– Texture
– etc…

– Library
– ProjectSettings
– Temp

Scenes .unity

6. Inside the folder ‘Assets’ add a folder ‘_Scenes’, the underscore it is not necessary but useful to put the folder on the top of the folder list.

A Project can contain multiple Scenes

Inside a Scene you can store:
– Main Menu
– Individual Levels

In each Scene, you will place your environments, obstacles, and decorations, essentially designing and building your game in pieces.

File> Save Scene> Assets\_Scenes> give it a name example: Main> Unity will save the file Main.unity

Target Platform

It is very important setup the correct Target Platform> Web Player

7. File> Build Settings> Web Player> ‘Switch Platform’

8. File> Build Settings> Web Player> ‘Player Settings’> Inspector> Resolution 600×900

9. ‘Game’ viewport> Free Aspect> Web (600×900)> Setup the ‘Game’ viewport resolution = ‘Player Setting’ resolution

Setup Work Area

10. DRAG AND DROP windows label obver the screen to create your perfect layout

11. TOP RIGHT> LAyout> Save Layout…> give it a name, example: Space Shooter> ‘Save’

Reset GameObject

12. DRAG AND DROP a GameObject from ‘Assets’ window to ‘Hierarchy’ window

13. Hierarchy> select GameObject> Transform> RMB gear icon> Reset to reset position, rotation, scale.

Reset Camera

14. Hierarchy> select Camera> Transform> RMB gear icon> Reset to reset position, rotation, scale.

Setup Light

15. MAIN TOP MENU> Edit> Render Settings> setup ‘Ambient Light’ 0,0,0

16. MAIN TOP MENU> GameObject> Create Other> Directional – Point – Spot – Area Light etc…

Organize Hierarchy – Multiple Lights

17. MAIN TOP MENU> GameObject> Create Empty> Inspector> rename ‘Lighting’> Transform> RMB gear icon> Reset

18. Hierarchy> DRAG AND DROP all lights over ‘Lighting’ empty object

Scripts

Assets> add the folder ‘Scripts’ in the root because they are very important component in Unity.