Last active
April 16, 2024 17:02
-
-
Save uchidama/4326951aa7ee2a1ef17a366cff451394 to your computer and use it in GitHub Desktop.
# Unityフォルダ構成のルールについて # https://qiita.com/takish/items/8608ba9070755da3ae6d # ここで書かれたフォルダ構成をUnityの空のプロジェクトを作ったあとに作成するスクリプト # 空のプロジェクトのルートフォルダにおいて実行
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Unityフォルダ構成のルールについて | |
# https://qiita.com/takish/items/8608ba9070755da3ae6d | |
# ここで書かれたフォルダ構成をUnityの空のプロジェクトを作ったあとに作成するスクリプト | |
# 空のプロジェクトのルートフォルダにおいて実行 | |
# Base directory for Unity project Assets | |
base_dir="./Assets" | |
# List of directories to create | |
directories=( | |
"Scenes" | |
"Prefabs" | |
"Scripts" | |
"Animations" | |
"Materials" | |
"PhysicsMaterials" | |
"Fonts" | |
"Textures" | |
"Audio" | |
"Resources" | |
"Editor" | |
"Plugins" | |
) | |
# Create each directory | |
for dir in "${directories[@]}"; do | |
mkdir -p "$base_dir/$dir" | |
done | |
echo "Directory structure created successfully in $base_dir." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment