예제 #1
0
    protected virtual void OpenNextWindow(MenuWindow nextWindow)
    {
        if (nextWindow == null)
        {
            Debug.LogAssertion("Window is not assigned", gameObject);
            return;
        }

        Close();
        nextWindow.Open();
    }