コード例 #1
0
    public void Next(GameObject panel)
    {
        if (panel == null)
        {
            return;
        }

        var previousPanel = Current;

        previousPanel.SetActive(false);
        previousPanels.Push(previousPanel);

        Current = panel;
        panel.SetActive(true);

        previous = true;
        UpdateUI();

        if (controller != null)
        {
            controller.OnWizardPanelChanged(previousPanel, Current);
        }
    }