Пример #1
0
    // Update is called once per frame
    void Update()
    {
        switch (inputMode)
        {
        case InputMode.Locked:
            break;

        case InputMode.Drawing:
            drawController.DoUpdate();
            break;

        case InputMode.Swiping:
            swipeController.DoUpdate();
            break;
        }
    }