void TransitionCompleted() { if (sourceViewDismiss) { sourceView.ViewDisappeared(); } //if (sourceViewDismiss) sourceView.viewContent.localPosition = Vector3.zero; if (targetViewAppear) { targetView.ViewAppeared(); } }
void TransitionCompleted() { if (sourceViewDismiss) { sourceView.ViewDisappeared(); } if (sourceViewDismiss) { sourceView.viewContent.localPosition = new Vector3(0, sourceView.viewContent.localPosition.y, 0); } if (targetViewAppear) { targetView.ViewAppeared(); } }
void Start() { //initial view presentation and hiding other view foreach (UIView view in Views) { view.ViewWillDissappear(); view.SetVisible(false); view.ViewDisappeared(); } initialView.ViewWillAppear(); initialView.SetVisible(true); initialView.ViewAppeared(); StartCoroutine(RefreshEventSystem()); }