0% found this document useful (0 votes)
9 views

5_Create a Unity Package

The document outlines the steps to create a Unity package for a personal project, including setting up a new project, creating a background plane, and adding a player object with a custom material. It also details positioning the camera based on the game type and creating additional game elements like enemies and obstacles. Finally, it instructs on exporting the project as a Unity package for backup purposes.

Uploaded by

magicahbang119
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

5_Create a Unity Package

The document outlines the steps to create a Unity package for a personal project, including setting up a new project, creating a background plane, and adding a player object with a custom material. It also details positioning the camera based on the game type and creating additional game elements like enemies and obstacles. Finally, it instructs on exporting the project as a Unity package for backup purposes.

Uploaded by

magicahbang119
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Create a Unity Package

Project Outcome:
All key objects are in the scene as primitive objects with
the camera positioned properly for your project type.
1.Create a new Project and rename your scene
1. Open Unity Hub and create an empty project named “Personal Project” on the correct Unity version.
2. After Unity opens, select your custom Layout

3. In the Project window, Assets > Scenes, rename “SampleScene” to “My Game”

2.Create a background plane


1. In the Hierarchy, Right-click > 3D Object > Plane to add a plane to your scene
2. In the Plane’s Inspector, in the top-right of the Transform component, click on the three dots icon > Reset

Note: the three dots will appear as a gear icon in older versions of Unity.
1. Increase the XYZ scale of the plane to (5, 1, 5)
2. Adjust your position in Scene view so you have a good view of the Plane
3.Create primitive Player with a new material
1. In the Hierarchy, Right-click > 3D Object > Sphere, then rename it “Player”
2. In Assets, Right-click > Create > Folder named “Materials”

3. Inside “Materials”, Right-click > Create > Material and rename it “Blue”
4. In Blue’s Inspector, click on the Albedo color box and change it to a blue
5. Drag the material from your Assets onto the Player object

4.Position camera based on project type


1. For a top-down game, position the camera at (0, 10, 0) directly over the player and rotate it 90 degrees
on the X axis
2. For a side-view game, rotate the Plane by -90 degrees on the X axis
3. For a third-person view game, move the camera up on the Y and Z axes and increase its rotation on the
X axis
5.Enemies, obstacles, projectiles & Materials
1. In the Hierarchy, create new Cubes, Spheres, and Capsules for all other main objects, renaming them,
repositioning them, and scaling them
2. In your Materials folder, create new materials for as many colors as you have unique objects, editing
their color to match their name, then apply those materials to your objects
3. Position all your objects in locations relative to each other that make sense

6.Export a Unity Package backup file


1. Save your Scene
2. In the Project window, Right-click on the “Assets” folder > Export Package, then click Export
3. Create a new “Backups” folder in your Personal Project folder, then save it with your name and the
version number (e.g. Carl_V0.1.unitypackage”)

You might also like