This is a template project which contains tools I frequently use when starting a new unity project. Including but not limited to:
- Tweening DOTween
- Reactivity (Observables, reactive properties) R3
- Lightweight and web-compatible async/await UniTask
- Custom utilities com.dman.utilities
- Text Mesh Pro
- Leaderboard and analytics Playfab
- Newtonsoft json serialization Newtonsoft.Json
- Player-prefs style save system SaveSystem
- Volume slider script in Scripts/Audio, with a preconfigured audio mixer
- Asset postprocessing utility in Scripts/Editor/CustomPostprocessor
- Use the template to create a new repository
- Clone the repository
- Set up git lfs
git lfs install
- Open the project in Unity
- It will warn you about compilation errors.
- DO NOT enter safe mode. instead, select "ignore", and let the project load.
- After loading, it should no longer have compiler errors.
- This is because nugetforunity must load and then download the packages which the rest of the project compiles against.
- Get to work!
After creating a new repo from this template, make sure that the big files are imported as LFS.
run these commands:
git lfs install
git lfs migrate import --include="*.dll,*.png,*.jpg,*.pdf,*.ttf" --include-ref=HEAD~0
git lfs ls-files
git push --force
cd ..
rm -rf <repo folder name>
git clone <repo url>
Open the project up in unity