Posted on

How to Scale an Object in One Direction Unity

For this very quick lesson, I should you how to scale an object in only one direction in Unity. When you scale an object is scales based on the pivot of the object. Most of the time the pivot is in the center which means the object will scale in both directions.

To scale an object in only one direction to need to give the object a new pivot point to scale from. You can do this by using a parent-child relationship with an empty game object. If you make the object you want to scale a child to the empty then place the parent/empty object in the position you want the pivot to be. To scale the object in one direction then place the parent object on the edge or face on the child object.

You can then scale the parent object with will scale the child object in one direction.

Posted on

How to Open an Existing Project Unity

To add an existing project to Unity hub, first open Unity hub. Then in the project tab click the add button. This will bring up your file explorer where you will need to find the asset folder for the project you wish to add. Then click the Select Folder button. This will then add this project to the recent project list. You will then need to select the Unity version you want to use with this project. Unity hub will not let you open this project until you do this. Now you can click on this newly added listing which will close Unity hub and open Unity. Depending on your computer and the size of your project, Unity will take several minutes to open.

Posted on

How to Create a New Project in Unity

To create a new project with Unity hub, first open Unity hub. Then in the Project tab click the New button or the arrow next to New. The arrow will allow you to select which installed version of Unity you wish to use with your new project whereas the New button will just us the latest version you have installed. Both of these options will then open a new window where you can name your project and choose the location for where you want to have this project created. You can also select a template for this project. The most common templates are 2D and 3D. Finally to create the project click on Create. This will close Unity Hub and begin the setup process for your new project. This may take a few minutes but once it is done Unity will open and you will be ready to begin creating your new game.