Пример #1
0
    private void OnTweenComplete()
    {
        FageUIManager manager = FageUIManager.Instance;

        manager.Pop();
        manager.Level("adventure_alaska_a", FageUIRoot.Instance.FindUICurtain("blackout"));
        manager.Push(FageUIRoot.Instance.FindUISet("adventure"));
    }
Пример #2
0
    private void OnResultComplete()
    {
        FageUIManager manager = FageUIManager.Instance;
        FageUIRoot    root    = FageUIRoot.Instance;

        manager.Popdown();
        manager.Pop();
        manager.Level("title_horse", root.FindUICurtain("blackout"));
        manager.Change(root.FindUISet("title"));
    }
Пример #3
0
    private void OnAnimationComplete()
    {
        FageUIManager manager = FageUIManager.Instance;
        FageUIRoot    root    = FageUIRoot.Instance;

        if ((string.IsNullOrEmpty(firstScene) != true) && (string.IsNullOrEmpty(firstCurtain) != true))
        {
            manager.Level(firstScene, root.FindUICurtain(firstCurtain));
        }
        if (string.IsNullOrEmpty(firstUISet) != true)
        {
            manager.Change(root.FindUISet(firstUISet));
        }
        Destroy(gameObject);
    }