Пример #1
0
        private void Update()
        {
            if (pause.IsPaused)
            {
                return;
            }

            if (!initialized)
            {
                SetOption(0);
                initialized = true;
                return;
            }

            if (playerInput.IsLeftDown())
            {
                SelectLeft();
            }

            if (playerInput.IsRightDown())
            {
                SelectRight();
            }

            if (!bubbleTextHelper.IsRunningText && playerInput.IsInteractDown())
            {
                Select();
            }
        }