Disables the input field associated with the Ultimate Chat Box.
usingUnityEngine;usingTankAndHealerStudioAssets;publicclassChatBoxExample:MonoBehaviour{ // BE SURE TO ASSIGN THIS IN THE INSPECTOR //publicUltimateChatBox chatBox;voidUpdate () { // If the Return key was pressed this frame and the input field is currently enabled...if( Input.GetKeyDown( KeyCode.Return ) &&chatBox.InputFieldEnabled ) { // Disable the input field.chatBox.DisableInputField(); } }}