예제 #1
0
    public void HideStates()
    {
        UIPanelDialogBackground.HideAll();

        UIPanelDialogRPGHealth.HideAll();
        UIPanelDialogRPGEnergy.HideAll();

        HideOverview();
        HideTutorial();
        HideTips();
    }
    public override void Awake()
    {
        if (Instance != null && this != Instance)
        {
            //There is already a copy of this script running
            //Destroy(gameObject);
            return;
        }

        Instance = this;

        panelTypes.Add(UIPanelBaseTypes.typeDialogHUD);
    }
예제 #3
0
    public void HideStates()
    {
        HideButtonPlay();

        UIUtil.SetLabelValue(labelOverviewTip, loadingLevelDisplay);

        UIPanelDialogBackground.HideAll();

        UIPanelDialogRPGHealth.HideAll();
        UIPanelDialogRPGEnergy.HideAll();

        HideOverview();
        HideTutorial();
        HideTips();
    }