Component:TwitchChatDialog

From Resonite Wiki
Component image 
Twitch Chat Dialog component as seen in the Scene Inspector

Twitch chat dialogue is a component used to control and manage a live stream of chat messages sent by users at Twitch from a specific channel on Twitch.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
_canvas Canvas The canvas this component generated for a visual twitch chat feed.
_panel LegacyPanel The panel this component generated for a visual twitch chat feed.
MaxMessages Int The maximum amount of messages to keep in the message feed before deleting old ones.
Interface direct RelayRef`1<TwitchInterface> The twitch interface that is providing and receiving events to allow this component to function.
_channelName TextField The text field that holds the name of the channel this component is displaying chat messages for.
_viewerCount Text The text object displaying the amount of users watching _channelName
_messagesRoot Slot the slot to put UIX text components under which are messages sent into _channelName's chat.
_messagesScrollRect ScrollRect The scroll rectangle that is controlled to make sure it stays scrolled to the bottom as chat messages appear.
_highlightPanel Image The image used for when the panel is highlighted.
_highlightText Text The text used for when the panel is highlighted.
_spriteSheet DynamicSpriteFont The dynamically changing sprite font for text characters like custom twitch emojis.
_fontCollection FontCollection A list of fonts used by chat messages from twitch.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
ChannelEditingStarted:Action`1<TextEditor> Action`1<TextEditor> Handles when the user starts editing the target channel name.
ChannelEditingFinished:Action`1<TextEditor> Action`1<TextEditor> Handles when the user finishes editing the target channel name.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Examples

Used in the default Twitch chat item in Resonite Essentials.

See Also