Object Spawn System
Object Spawn System is an UdonSharp system for managing the visibility of objects in VRChat worlds.
It is useful in settings such as restaurant worlds, where you may want to spawn only the required number of pickup items and hide them again after use.
Features
- Interact with a Spawn switch to spawn an item
- Place an object in a Return trigger to hide it
- Interact with a Reset switch to hide all currently visible objects at once
- Move a spawned object to a specified point or to the hand of the player who used the switch
See Configure VRCObjectPool to prepare objects for spawning.
Tested environment
- Unity 2022.3.31f1
- VRChat SDK - Worlds 3.10.4
Start with Installation and testing, then verify the system in the included sample scene.
Components
| Role | Component | Behavior |
|---|---|---|
| Spawn | SpawnObject | Spawns one object managed by VRCObjectPool |
| Hide | ReturnObject | Hides an object that enters its trigger |
| Reset | ResetSwitch | Uses ReturnObject to hide all target objects |
License and support
Object Spawn System is released under the MIT License. See LICENSE.txt in the distributed package for details.
- GitHub
- Issues and pull requests are welcome
- Purabe Works on BOOTH
- Please use BOOTH messages for inquiries