logoRemuria

UwUtils

1.0.0-pre.10 ãƒģ Public
<div align=left> <a href="https://reava.github.io/UwUtils/"><img alt="Add to VCC" src="https://github.com/user-attachments/assets/33d583a7-4f7f-426a-901a-1581bd98001e"></a> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/reava/UwUtils/release.yml?style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Reava/UwUtils?color=blue&style=for-the-badge"> <a href="https://github.com/Reava/UwUtils/releases/latest/"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/reava/UwUtils?logo=unity&style=for-the-badge"></a> <a href="https://github.com/Reava/UwUtils/releases/latest/"><img alt="GitHub all releases" src="https://img.shields.io/github/downloads/reava/UwUtils/total?color=blue&style=for-the-badge"></a> </div>

🧰 Reava_'s Udon UwUtils Toolkit

  • You'll find all sorts of niche scripts made in U# by myself for different projects, revisited & cleaned for everyone's use.
  • This Toolkit is made to use simple scripts in unison to create more in specific behaviors rather than highly specific or overengineered scripts!
  • By all means you are very welcome to pick and choose parts of my code to make your own scripts! These serve as a handy toolbox for everyone either for using directly in projects or to grow into new scripts of their own.

Info: There are currently 33 Udon Scripts in UwUtils! This will continue to expand as I find more ideas.

â„šī¸ Tips:

  • You can easily add any of my scripts by simply typing it in the component window instead of adding a Udon behaviour first!
  • A lot of my scripts work best when used with other UwUtils scripts, you can do a LOT by combining their efforts!
  • A lot of variables have tooltips you can hover over to get more insight
  • My scripts output proper errors and logs, you can search for "Reava_/UwUtils/" in your logs/console to see any issues or find more insight about their behaviour.
  • If you find any issues, need support or think of a script you'd like to see, you can join my Discord or open an issue on Github!

đŸ“Ĩ <a href="https://reava.github.io/UwUtils/">Add it to VCC as a package !</a>

📋 Script list & Descriptions

<details> <Summary>Expand me!</summary>
  • Player Teleporter: Literally just TPs you on interact, that's it.
  • Objects Toggle: Toggles the state of an array of GameObjects & is persistence ready!
  • Object State Setter: On interact, sets the state of an array of gameObjects. Does NOT revert once triggered again, it SETS the state and is NOT synced. (Events: _Invert to do the opposite, _Switch to swap all states)
  • Tag Assigner: Functions as a whitelist with functions, assigns a Tag to anyone who matches their username to the user Array of the behavior on world join. Local, allows toggling specific objects if user matches. Has a toggle to empower the user if they just created the instance regardless of whitelist matching. Supports adding users on the go and loading a remote string for updating the whitelist without updating the world!
  • Tag TP: If you got the correct Tag to your name on interact with the behavior, teleports you to the target, if not, teleports you to the second target (or doesn't if empty / disabled)
  • ReflectionProbeController: RelfectionProbes are cool! make them real time, scripted and add this script to change the frequency they refresh at ! Use ToggleLoop() to toggle if it refreshes in a loop or stops until enabled again
  • Spinny: A script to rotate things on any axis, at any speed, and even at weird update speeds (like 30 degrees but only once a second). You should do that with animators, but this might be useful idk.
  • Unity Fog Toggle: Just an interact toggle that toggles ON/OFF Unity's fog... that's it. Call it with a trigger or a UI button, it'll work.
  • Scene Initializer: Want to have things enabled for the first few seconds an user enters your world then disable ? the opposite ? both ? Just use that, ezpz
  • tag Setter: Set a pre determined tag to the local user on interact. that's it.
  • Tag Debugger: Handy tool to display the local user's tag and output it to the debugLogs or text (Compatible with UnityUI, TMP & TMP GUI), updates on Interact & on Start.
  • Tag Array TP: Have a lot of tags & want each one to TP the user to a different spot ? Well... this does it all for ya! Even has a fallback target when the user doesn't have a tag (can be disabled to disallow TPing when no matching ranks are found)
  • Event Relay: Wanna use a button to push another button ? Do the same as UI can do ? Yup, just type the event name (like "_interact"), if you want a delay or not & for how many seconds.... and you're good to go! You can also check the state of another object to ignore the delay if that object is on / off. Will support UdonBehavior Arrays on for the UdonSharp1.0 update soon
  • Udon Keybinds: Send an event call to 6 different udon behaviors based on keybinds, serves either for RollTheRed's Camera System or as a code template. Press CTRL + 1 to 6 to trigger changes. CTRL + 0 to toggle keybinds ON/OFF, defaults to ON unless changed. Will support UdonBehavior Arrays on for the UdonSharp1.0 update soon
  • Animator Driver: Inverts a boolean on an animator on interact... and that's it (Persistence ready!)
  • Trigger Zone Relay: Assign trigger colliders, and assign an Udon Behavior to send an event to either on Enter or Exit, super simple stuff! Supports UdonBehaviorArrays for U# 1.x version of the scripts.
  • Playercount To Animator: Enables driving an Animator's parameter (one parameter per Behavior, multiple Animators at once supported) between two values (Min/Max) depending on the player count in the instance. Can set the player count cap to reach max value.
  • Join Bell: Pretty straightforward, just tap in an AudioSource & a clip for Join/Leave and enjoy (bell sound can be toggled by UI or eventRelay using "_JoinToggle" event)
  • Toggle Canvas: Same as iState, but for Canvas components
  • MeshRenderer Swapper: Enables swapping between two Groups of Mesh Renderers at runtime, setting between 1 & 2 as default, and which group by default on Quest. practical for optimization toggles. Supports events (_switchGroup, _enableOne, _enableTwo)
  • Instance Creator Relay: Sends a custom event of your choice to Udon Behaviors if the local user just created the instance
  • Fading TP: A small prefab that allows you to setup an infinite amount of teleports with Fade In/Out blackout effects! (Can change the fade speed per door, super lightweight)
  • Spawn Fade: A small prefab for fading into a world when you join, can toggle to also fade in when respawning! (Toggleable on runtime, can change the fade speed)
  • Remote String To Text: Allows loading a remote string from a URL and output to an array, or any type of text field (feel free to use as a code base for your own use!)
  • Sequencial Toggle: Toggles a set of objects in sequential order, can send a different event to toggle it completely and keep progress, interact to go through it.
  • Advanced UI Toggle: All the things done around a toggle packed in a single behavior, can be used with a UI button, physical event button or actual UI button to change anything Ui related + sound feedback, all toggleable.
  • Collectible: When interacted with, can send a value to the Collection System to add to the balance of it
  • Collection System: The brain that receives events from Collectibles and adds up all the values received, can output to mulitple text displays
  • Multi UI Toggle Manager: Links any number of toggles together and allows any of them to control the rest of them, and update a script when a new value is received, allowing to control a single script with multiple toggles for example.
  • Multi UI Slider Manager: Links any number of sliders together and allows any of them to control the rest of them, and update a script when a new value is received, allowing to control a single thing with multiple sliders.
  • PostProcessing Controller: Controls the post processing weight based on a slider or Slider Manager for multiple sliders controlling the same value.
  • Slider Saver Saves the slider and restores its last known value on rejoin with persistence. Supports function "_resetValue" to reset the slider value and save without wiping player data.
  • Audiolinked Animator Allows driving an animator float with an Audiolink band with history and poll rate. This requires readback to be enabled on Audiolink!
  • [Instance Time Actions] > NOT READY < Enables performing actions based on Instance Time (segmented), synced for late joiners.
</details>

âš ī¸ Requirements

Check updates before reporting issues.

  • Unity (Tested: v2022.3.22f1)
  • VRChat Worlds SDK3 (Tested: v3.8.0)
  • Text Mesh Pro is used by some scripts and generally used widely, import it.

🔗 Links

Get support & support me here:

Some tutorials might be posted on my Youtube: https://www.youtube.com/channel/UCm3RYWUql-2yGt8K2u9eFEg/

Keywords

No keywords found.

Install via VCC

Package ID

chirp.reava.uwutils

Unity Version

2022.3

Unity Release

undefined

VRChat Version

undefined

Author

License

undefined

Documentation URL

undefined

Changelog URL

undefined