Ejemplo n.º 1
0
    //---------------------------------------------------------//

    private void OnEnable()
    {
        InputEventHandler.RegisterToKeyboardCharPressed(CheckKeyboardInput);
    }
Ejemplo n.º 2
0
    //---------------------------------------------------------------------------//

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