https://github.com/jlchntoz/lazyswitch
A maximum 32-states multi purpose switch for VRChat, designed for lazies.
https://github.com/jlchntoz/lazyswitch
Last synced: over 1 year ago
JSON representation
A maximum 32-states multi purpose switch for VRChat, designed for lazies.
- Host: GitHub
- URL: https://github.com/jlchntoz/lazyswitch
- Owner: JLChnToZ
- License: mit
- Created: 2024-06-08T15:54:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-25T08:58:48.000Z (over 1 year ago)
- Last Synced: 2025-02-12T17:53:17.331Z (over 1 year ago)
- Language: C#
- Size: 188 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Lazy Switch
This is a multi-purpose switch component for use in VRChat worlds. Here is its features:
- Maximium 32 states, each state can have infinite number of components to be controlled.
- Can switch states by ordered or randomized.
- Switch chaining, you can assign a "master switch" and when interact to either one, both will be synchroized.
- Works with both local or global (synced) mode.
- States can be saved with [Player Persistence API](https://vrc-persistence-docs.netlify.app/worlds/udon/persistence/) (currently supported in beta version)
- It supports toggling these assets/components individually:
- Game Objects
- Udon Behaviours
- Renderers
- Colliders
- Cameras
- Rigidbodies
- UGUI Selectable Components (Buttons, Toggles, etc.)
- Constraints
- VRC Pickups
- Custom Render Textures
- Particle Systems (by Module)
- Easy to setup interface, adding / removing components just by clicking or dragging.
- Self contained, the script file already contains everything it need to work, except VRChat SDK and Unity.
# Installation
You can install via [VCC](https://xtlcdn.github.io/vpm/) or directly put everything inside "LazySwitch" folder to your world project.
You can getting started by dragging the provided "Lazy Switch Sample" prefab to your scene.
# LICENSE
[MIT](LICENSE)