示例#1
0
    //---------------------------------------------------------//

    private void OnEnable()
    {
        InputEventHandler.RegisterToKeyboardCharPressed(CheckKeyboardInput);
    }
示例#2
0
文件: Word.cs 项目: Wysepka/HangTanks
    //---------------------------------------------------------------------------//

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