Clears the chat box of all registered chat entries.
usingUnityEngine;publicclassChatBoxExample:MonoBehaviour{ // BE SURE TO ASSIGN THIS IN THE INSPECTOR //publicUltimateChatBox chatBox;voidUpdate () { // If the space key has been pressed...if( Input.GetKeyDown( KeyCode.Space ) ) { // Clear the chat box of all entries.chatBox.ClearChat(); } }}