https://github.com/vrlabs/instancer
https://github.com/vrlabs/instancer
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vrlabs/instancer
- Owner: VRLabs
- License: mit
- Created: 2023-10-07T22:16:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T20:39:36.000Z (over 1 year ago)
- Last Synced: 2025-03-20T04:59:05.388Z (about 1 year ago)
- Language: C#
- Size: 36.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Instancer
[](https://github.com/VRLabs/Instancer/releases/latest)
[](https://github.com/VRLabs/Instancer/blob/main/LICENSE)
[](https://unity3d.com/unity/whats-new/2019.4.31)
[](https://vrchat.com/home/download)
[](https://discord.vrlabs.dev/)
[](https://patreon.vrlabs.dev/)
VRLabs' Instancing system that copies files over for use in the Assets directory and can also runs install scripts
### ⬇️ [Download Latest Version](https://github.com/VRLabs/Instancer/releases/latest)
### 📦 [Add to VRChat Creator Companion](https://vrlabs.dev/packages?package=dev.vrlabs.instancer)
---
## How it works
* It gets called by a small dummy file included in the package, and when called copies all the files over, and replaces references to old files with references to new files.
* It can also run an install script callback once it's done with this.
## Install guide
* It should generally only be installed as a dependency of a VRLabs package
## How to use
* Click the `VRLabs/[PackageName]` button in the toolbar and select an output folder to copy to.
### Instance Any Package
* You can use the `VRLabs/Instance Any Package` button to instance and rename any package in the Assets folder.
* It will ask you for the package name and the new instance name.
* Note that it will only rename things that start with the package name, so if you have e.g. controller parameters that start with a different name, they wont be renamed and will clash with the initial package.
* Note that materials will reference shaders from the original package as shaders are not copied over.
* Note that big packages might crash your Unity Editor and cancel the renames, so notall packages will work.
## Contributors
* [Jelle](https://jellejurre.dev)
## License
Instancer is available as-is under MIT. For more information see [LICENSE](https://github.com/VRLabs/Instancer/blob/main/LICENSE).
[
](https://vrlabs.dev "VRLabs")
[
](https://discord.vrlabs.dev/ "VRLabs")
[
](https://patreon.vrlabs.dev/ "VRLabs")
[
](https://twitter.com/vrlabsdev "VRLabs")