Unity Project sends data to the server,
the server sends data to Twitch PubSub,
extension listens to Twitch PubSub.
Conversely,
Extension sends data to the server
The server sends the data down to that instance of the Unity Project
The server is literally in the middle.
It Twitch Extension vernacular we refer to this as a EBS. Extension backend service