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")); }
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); }