Пример #1
0
    //---------------------------------------------------------//

    private void OnEnable()
    {
        InputEventHandler.RegisterToKeyboardCharPressed(CheckKeyboardInput);
    }
Пример #2
0
    //---------------------------------------------------------------------------//

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