Expose Chatbox to Udon
Uzer Tekton
bool
VRCPlayerApi.Chatbox.IsTyping
string
VRCPlayerApi.Chatbox.Text
This opens up possibilities for chatting (with text) as a way to interact with the world, e.g. NPCs responding to certain keywords you are "speaking".
Or world specific custom placement of Chatboxes. Maybe someone wants to do a presentation and needs their Chatbox enlarged for a large audience. This will be equivalent to player audio setting a higher voice gain.
This allows chatting to be an actual game mechanic in VRChat.
Log In
Vince_Borzoi
As a mute player who uses the chatbox all the time, I don't think this is a good idea for a couple reasons:
It kind of interferes with an accessibility feature. If I'm trying to communicate to another player using the chatbox, the NPC in the world would also react. Both ideas can already be done with in-world text boxes, see worlds like Audience Anarchy and Who Said What.
And then there's the privacy concerns with worlds having direct access to what you're typing. It could be potentially abused to log people's messages to an external url. It's the same reason why worlds shouldn't have direct access to what people are saying through voice chat.
The chatbox should be exclusively used for chatting with other players imo.
Uzer Tekton
It will actually grant new accessibility features. If you are doing a TED talk, you want to present to an audience, Udon can amplify your voice, but there is no equivalent function for a mute person using Chatbox. This will allow that.
You don't have to worry about privacy, worlds cannot dynamically create urls to load or otherwise upload data to any external server. (By the way, VRChat already logs your Chatbox messages)
If you are chatting with another player using Chatbox, some random player can also readily react to it, so there is no privacy concern. Having NPCs able to react to it is an accessibility feature allowing a NEW mechanism of interacting with the world with "chat". It does not replace the text boxes where you need to have a certain input like Audience Anarchy because those are a different use case where you want it to be private message.