Disables the chat box so that it will not receive input.
using UnityEngine;
using TankAndHealerStudioAssets;
public class ChatBoxExample : MonoBehaviour
{
// BE SURE TO ASSIGN THIS IN THE INSPECTOR //
public UltimateChatBox chatBox;
void Start ()
{
}
void Update ()
{
// If the space key has been pressed...
if( Input.GetKeyDown( KeyCode.Space ) )
{
// Disables the chat box.
chatBox.Disable();
}
}
}