Пример #1
0
 public void Show(Action onComplete, string title, string description)
 {
     SetMessage(title, description);
     if (windowAnim != null)
     {
         windowAnim.Open(delegate() {
             if (onComplete != null)
             {
                 onComplete();
             }
         });
     }
 }
Пример #2
0
    public void Show(Action _onComplete)
    {
        this.onComplete = _onComplete;
        windowAnimation.Open();

        this.DelayedCall(() =>
        {
            windowAnimation.Close(delegate()
            {
                Scenes.UnloadAsync(RoundSceneInfo);
                _onComplete();
            });
        }, WindowDuration);
    }