コード例 #1
0
    // Update is called once per frame
    void Update()
    {
        var pointer = new PointerEventData(EventSystem.current);

        MenuInGameIndex           = _control.SimulateUpDownOnGUI(0, _player.SelectedCharacter.Input, "Vertical", MenuInGameNumberOfButtons, 6, MenuInGameIndex);
        PreviewCharacterMenuIndex = _control.SimulateUpDownOnGUI(1, _player.SelectedCharacter.Input, "Horizontal", PreviewCharacterMenuNumberOfStageOfSlots, 1, PreviewCharacterMenuIndex);
        _control.ButtonControl(pointer, _player.SelectedCharacter.Input, MenuInGameButtons, MenuInGameIndex);

        ShowPreviewOfCharacters();
        PreviousNextControl(pointer);
    }