using UnityEngine; namespace BrewMonster.Scripts.Chat { public class TestChat : MonoSingleton { public ChatInputHandler testChat; public string text; protected override void Awake() { base.Awake(); DontDestroyOnLoad(gameObject); } private void Update() { if (Input.GetKeyDown(KeyCode.C)) { testChat.Send(text); } } } }