Ejemplo n.º 1
0
    public void ButtonActivate(Node n, bool shift = false)
    {
        switch (n.fileName)
        {
        case "Enter":
            manager.keyboardString = keyboard.Enter();
            manager.keyboard.gameObject.SetActive(false);
            break;

        case "Backspace":
            keyboard.BackSpace();
            break;

        case "Space":
            keyboard.Space();
            break;

        default:
            keyboard.AddChar(n.fileName);
            break;
        }
    }