Releases: FairlySadPanda/UdonStringEvents
PRE-RELEASE UdonChat/UdonStringEvents 1.4.0
NOTE: This binary release is not currently reflected on this Github. Please await the full release if you would like current source code via Git rather than from pulling the prefab below.
UDONCHAT PRE-RELEASE VERSION 1.4.0
CHANGELIST
- UdonStringEvents is dramatically more performant now.
- UdonKeyboard is dramatically more performant now.
- UdonChat can now be put into static mode.
- UdonChat hangs off of the player's right-hand tracker rather than their right hand bone, making things far more stable.
- UdonChat's VR buttons have been changed. To use a button, hover over it with your left index finger and hit your left trigger button.
NOTES:
TO ENABLE STATIC MODE, select the Logger, Keyboard and Buttons objects within the UdonChat prefab whilst it's in the scene and set their Udon Behaviours' "Is Static Screen" checkmarks to true.
TO OPTIMISE FOR PERFORMANCE: Go into the UdonChat prefab whilst it's in the scene, go to Udon Event System, EventReceiver, and inside there is a long list of EventEmitters. You only need as many emitters
as is equal to two times your world's soft cap, plus one. For example, the default VRChat world holds 16 people, so two times sixteen plus one is 33, and in this case you'd only need 33 EventEmitters
inside the EventReceiver object. BY DEFAULT UDONCHAT COMES WITH 81 EVENTEMITTERS. THIS IS FOR THE WORST-CASE SCENARIO USING THE WORLD WITH A SOFT CAP OF 40.
UdonChat/UdonStringEvents 1.3.0
Big release - UdonChat now has interactive buttons rather than using the Unity UI for the right-hand button interaction.
This release also includes a standalone prefab for UdonStringEvents, which is now much more performant than before.
UdonChat 1.2
A lot of fixes in this one.
-
UdonStringEvent improvements. This will fix some of the sloppy stuff in the early two releases. The code itself is more correct, and there's less being done in the update loops.
-
UdonChat UX improvements. It still looks terrible, but at least it scales a lot better and tracks a lot better on a wider variety of avatars.
-
Bug fixes with caps/shift getting in the wrong state on UdonKeyboard.
-
An attempt at blocking events from being received and parsed for a second after joining, to allow for the world to synch with the local player.
UdonChat 1.1
Some big updates in this one.
-
A few more example and helper scripts have been added. InWorldKeyboard and its associate ImmobilizeToggle have been added for those that want to use UdonKeyboard without the UdonLogger code. A PlayerTracker helper class has been added to assist with tracking VRC Player APIs (until the defects with getting all player APIs is otherwise fixed by the VRC devs).
-
TARGET-SPECIFIC EVENTS RECEIVER. By default a PlayerEventRecevier will be owned by the master. The PlayerEvent classes allow for specifically targetting a single player with events. Handy when you're treating the world's master as a pseudo-server.
-
EVENT HANDLING AS AN INTERFACE. Event handling code, previously inside EventReceiver.HandleUpdate(str, str) has been abstracted out. Providing any UdonBehaviour to any EventReceiver (Player or normal) which implements two vars and an event name (characterName, newEvent, HandleEvent) allows you to handle events without ever actually looking at UdonStringEvent code.
v1.0.0
Working implementation of a chat program based on the UdonStringEvents code.
The attached package needs the latest SDK3 and UdonSharp installed to work.