Disables the chat box so that it will not receive input.
usingUnityEngine;usingTankAndHealerStudioAssets;publicclassChatBoxExample:MonoBehaviour{ // BE SURE TO ASSIGN THIS IN THE INSPECTOR //publicUltimateChatBox chatBox;voidStart () { }voidUpdate () { // If the space key has been pressed...if( Input.GetKeyDown( KeyCode.Space ) ) { // Disables the chat box.chatBox.Disable(); } }}