EchoTrio
 
Loading...
Searching...
No Matches
EchoTrio.UI.Chatbox Class Reference
Inheritance diagram for EchoTrio.UI.Chatbox:
Inheritance graph
Collaboration diagram for EchoTrio.UI.Chatbox:
Collaboration graph

Public Member Functions

void AddMessage (string speaker, string message)
 
void AddMessage (string message)
 
void ScrollToBottom ()
 

Private Member Functions

void Start ()
 
void Update ()
 
IEnumerator ScrollToBottomCoroutine ()
 

Private Attributes

UnityEngine.UI.ScrollRect scrollView = null
 
TMPro.TMP_Text textArea = null
 

Detailed Description

Definition at line 5 of file Chatbox.cs.

Member Function Documentation

◆ AddMessage() [1/2]

void EchoTrio.UI.Chatbox.AddMessage ( string  message)
inline

Definition at line 15 of file Chatbox.cs.

◆ AddMessage() [2/2]

void EchoTrio.UI.Chatbox.AddMessage ( string  speaker,
string  message 
)
inline

Definition at line 10 of file Chatbox.cs.

◆ ScrollToBottom()

void EchoTrio.UI.Chatbox.ScrollToBottom ( )
inline

Definition at line 20 of file Chatbox.cs.

◆ ScrollToBottomCoroutine()

IEnumerator EchoTrio.UI.Chatbox.ScrollToBottomCoroutine ( )
inlineprivate

Definition at line 31 of file Chatbox.cs.

◆ Start()

void EchoTrio.UI.Chatbox.Start ( )
inlineprivate

Definition at line 27 of file Chatbox.cs.

◆ Update()

void EchoTrio.UI.Chatbox.Update ( )
inlineprivate

Definition at line 29 of file Chatbox.cs.

Member Data Documentation

◆ scrollView

UnityEngine.UI.ScrollRect EchoTrio.UI.Chatbox.scrollView = null
private

Definition at line 6 of file Chatbox.cs.

◆ textArea

TMPro.TMP_Text EchoTrio.UI.Chatbox.textArea = null
private

Definition at line 7 of file Chatbox.cs.


The documentation for this class was generated from the following file: