//---------------------------------------------------------// private void OnEnable() { InputEventHandler.RegisterToKeyboardCharPressed(CheckKeyboardInput); }
//---------------------------------------------------------------------------// public virtual void InitializeWordTyping() { InputEventHandler.RegisterToKeyboardCharPressed(CheckKeyboardInput); transform.GetChild(currentChar).GetComponent <Renderer>().material = StaticData.WordData.CurrentLetterMat; }