Ejemplo n.º 1
0
    public void SetToPreviousMainPanel()
    {
        if (isMainPanel)
        {
            return;
        }

        sectionsController.OpenSection(lastMainSectionId);
    }
Ejemplo n.º 2
0
    private void OnVisibilityChanged(bool isVisible, bool prev)
    {
        if (isVisible == prev)
        {
            return;
        }

        view.SetVisible(isVisible);

        if (isVisible)
        {
            sendPlayerOpenPanelEvent = true;

            FetchLandsAndScenes();
            StartFetchInterval();
            sectionsController.OpenSection(SectionId.SCENES_DEPLOYED);
        }
        else
        {
            StopFetchInterval();
        }
    }
Ejemplo n.º 3
0
 void OnSelectScene(ISceneCardView sceneCardView)
 {
     sectionsController.OpenSection(SectionId.SETTINGS_PROJECT_GENERAL);
 }