Exemple #1
0
    //---------------------------------------------------------//

    private void OnEnable()
    {
        InputEventHandler.RegisterToKeyboardCharPressed(CheckKeyboardInput);
    }
Exemple #2
0
    //---------------------------------------------------------------------------//

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