Пример #1
0
 protected override void StartButton(CommandInput.ButtonSnapshot startButton)
 {
     if (startButton.down)
     {
         StartGame();
     }
 }
Пример #2
0
    protected override void BButton(CommandInput.ButtonSnapshot bButton)
    {
        base.BButton(bButton);

        if (bButton.down)
        {
            Contexts.sharedInstance.meta.ReplaceMenuState(backLink);
        }
    }
Пример #3
0
    protected override void StartButton(CommandInput.ButtonSnapshot startButton)
    {
        base.StartButton(startButton);

        if (IsReady && startButton.down)
        {
            link.Click();
        }
    }
Пример #4
0
    protected override void AButton(CommandInput.ButtonSnapshot aButton)
    {
        base.AButton(aButton);

        if (IsReady && aButton.down)
        {
            link.Click();
        }
    }
    protected override void AButton(CommandInput.ButtonSnapshot aButton)
    {
        base.AButton(aButton);

        if (aButton.down)
        {
            //sectionOptions[index].GetComponent<Button>().onClick.Invoke();
            //menuOptions[sectionIndex][index].GetComponent<Button>().onClick.Invoke();
        }
    }
Пример #6
0
 public ButtonSnapshot(ButtonSnapshot copy)
 {
     this.down    = copy.down;
     this.pressed = copy.pressed;
     this.up      = copy.up;
 }