public void Show(Action onComplete, string title, string description) { SetMessage(title, description); if (windowAnim != null) { windowAnim.Open(delegate() { if (onComplete != null) { onComplete(); } }); } }
public void Show(Action _onComplete) { this.onComplete = _onComplete; windowAnimation.Open(); this.DelayedCall(() => { windowAnimation.Close(delegate() { Scenes.UnloadAsync(RoundSceneInfo); _onComplete(); }); }, WindowDuration); }