- Building an FPS Game with Unity
- John P. Doran
- 258字
- 2021-07-09 21:09:48
File organization
Keeping your Unity project organized is incredibly important. As your project moves from a small prototype to a full game, more and more files will be introduced to your project. If you don't start organizing it from the beginning and keep planning to tidy it up later on, things may get quite out of hand as the deadlines keep coming.
Setting up a project structure at the start and sticking to it will save you countless minutes in the long run. It will only take a few seconds and is what we'll be doing now.
- Go to the
Assets
folder from the Project tab in the bottom-left corner of the screen. Once there, click on the Create drop-down menu. Click on Folder and you'll notice that a new folder has been created inside your Assets folder. - After the folder is created, you can type in the name of your folder. Once it is named, press Enter. Let's now create a folder called
MyGame
. We also need to create folders for the following directories inside theMyGame
folder:Prefabs
Scenes
Scripts
Your project should now look like this:

推薦閱讀
- C++程序設計教程
- Embedded Linux Projects Using Yocto Project Cookbook
- CMDB分步構建指南
- Python計算機視覺編程
- Learning Hunk
- 高級語言程序設計(C語言版):基于計算思維能力培養
- Learning R for Geospatial Analysis
- Android開發三劍客:UML、模式與測試
- Java并發編程:核心方法與框架
- SwiftUI極簡開發
- Python預測之美:數據分析與算法實戰(雙色)
- Java編程指南:語法基礎、面向對象、函數式編程與項目實戰
- 程序員面試金典(第6版)
- Spring Boot 3:入門與應用實戰
- 移動智能系統測試原理與實踐