- Unity 2022.3.62f3c1 with
com.unity.feature.developmentenabled - Learning project: 17+ lesson scripts across two categories (入门/基础), one scene, a few prefabs
- No tests, linting, formatters, typechecking, or CI — open in Unity Editor to build/run
Assets/
Scripts/入门/ — beginner lessons (lesson1–10)
Scripts/基础/ — intermediate lessons (lesson11–17)
Scenes/ — SampleScene.unity
Resources/
Prefabs/ — car, pyramid, tank prefabs
Audios/ — BGM.mp3
Materials/ — m1.mat
Texts/ — test.txt
Textures/ — test.png
Standard Assets/ — .unitypackage files (import via Unity Editor)
Editor/ — (empty, for editor scripts)
Plugins/ — (empty, for platform plugins)
StreamingAssets/ — (empty, for raw assets)
- Never delete
.metafiles — Unity uses them to track asset GUIDs - No
.gitignore— must add one to ignore:Library/,Temp/,obj/,Logs/,*.csproj,*.sln(user-specific) .vsconfigrequests the "Managed Game" workload for Visual StudioUnityLearning.slnis regenerated by Unity — do not edit manually
- Scripts use Chinese characters in class names and filenames (e.g.,
lesson1_生命周期函数.cs) - Method bodies use
print()for debug output
- No tests, linting, formatters, typechecking, or CI
- No npm/nuget/pip — Unity manages packages via Package Manager (see
Packages/manifest.json) - Open project in Unity Editor to build/run
- Prefabs live under
Assets/Resources/Prefabs/ - Scenes under
Assets/Scenes/ - Keep new scripts in
Assets/Scripts/<topic>/