{"version":"1.0","type":"rich","title":"Neater Unity 2018 projects with git submodules and sparse checkout","description":"This example shows how to manage Unity 2018 projects more cleanly by combining git submodules with sparse checkout to include only necessary asset folders from external repositories. It demonstrates a shell script (`addpackage.sh`) that clones a repository, registers it as a submodule, enables sparse checkout, and specifies which `Assets/` directories to pull, while a `package.json` file defines the package metadata for Unity’s package manager. The code uses git commands like `git clone`, `git submodule`, and `git config core.sparseCheckout` to achieve selective inclusion, without any visualization libraries or rendering APIs.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-e10ea47d253391de8eceb3393d2eb142?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}