This repo is a submodule to be injected into other repositories, not meant to be used as a standalone Unity project.
This repo includes all my shared resources, scripts, plugins, packages, and libraries that I use across my Unity 6 projects.
- Open your Unity project repository.
- On the left panel, right click Submodules - Add New Submodule.
- Enter the URL of this repo. Then specify the name of the folder relative to your current git repo, but it is advised that you put this folder outside your Unity project's folder to avoid any unwated conflicts.
- Hit Add Submodule to add this repo into your current repo as a submodule.
- Cd into your git repo and use this command to add a new submodule.
git submodule add [submodule-url] [relative-target-folder]
- [submodule-url]: the url of the submodule
- [relative-target-folder]: the target folder relative to your current repo.
After adding this repo as a submodule, you need to link the main resources folder to your Unity project's Assets folder.
- Cd into your Unity project's Assets folder.
- Run this command to delete any existing, corrupted folder with the same name as the main resources folder.
rm -rf "0_CstSharedResources"
- After that, create a symbolic link points to the main resource folder inside the submodule you just added.
ln -s "[Your-Git-Folder-Path]\CST_Unity_Shared_Resources\0_CstSharedResources" "0_CstSharedResources"
- And that's it, you've successfully injected the main resources folder into your Unity project. From now on, if the submodule gets updated in the future, those changes will also be reflected in your Unity project as well, if you fetch the latest of course.
- Navigate into the submodule folder:
[Your-Git-Folder-Path]\CST_Unity_Shared_Resources\ - Locate and run the
windows_link.bashfile as Administrator. Then enter your Unity project's folder name into the CMD window, make sure to wrap it in double quotes.
- Press Enter and see if the symbolic link is successfully created, if not, double check your project's name.
- Asset Usage Detector by yasirkula
- Serialized Dictionary by ayellowpaper
- DOTween (HOTween v2) by Demigiant
© 2022-2025 CST Games, all rights reserved.



