Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiago-xavier-braga/unityfoldergenerator
This C# script for Unity automates the creation of the standard folder structure for Unity projects
https://github.com/tiago-xavier-braga/unityfoldergenerator
tools unity
Last synced: about 1 month ago
JSON representation
This C# script for Unity automates the creation of the standard folder structure for Unity projects
- Host: GitHub
- URL: https://github.com/tiago-xavier-braga/unityfoldergenerator
- Owner: tiago-xavier-braga
- Created: 2024-01-01T17:01:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-01T17:31:27.000Z (about 1 year ago)
- Last Synced: 2024-01-01T18:26:04.798Z (about 1 year ago)
- Topics: tools, unity
- Language: C#
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FolderGenerator
https://github.com/tiago-xavier-braga/UnityFolderGenerator/assets/62892930/c2ef7fbe-a1e0-4b36-9fb3-3ec02bd6a492
This C# script for Unity automates the creation of the standard folder structure for Unity projects. Simply add this script to your project and run it to automatically generate folders according to the following pattern:
```
Assets
+--- Art
| +--- Materials
| +--- Meshes
| +--- Textures
| +--- Fonts
| +--- Animations
+--- Audio
| +--- Musics
| +--- SoundEffects
| +--- VoiceOvers
+--- Code
| +--- Scripts
| +--- Shaders
+--- Docs
+--- Level
| +--- Prefabs
| +--- Scenes
| +--- Timelines
| +--- ScriptableObjects
+--- Settings
| +--- Inputs
| +--- Lighting
| +--- Physics
| +--- RenderPipeline
+--- ThirdParty
```## Usage
1. Download the `FolderGenerator.cs` script.
2. Add the script to the `Editor` folder within `Assets`.
3. In Unity, go to the `Assets` menu and select `Generate Folders`.This will automatically create the folder structure in the `Assets` directory of your project.
## Important Note
To prevent empty folders from being pushed to GitHub or Plastic SCM and avoid unnecessary conflicts, make sure to add the following line to your `.gitignore` file:
```
# Ignore empty directories
**/*
```This ensures that empty folders are not tracked by version control, keeping your repository cleaner and more organized.