Example #1
0
		public virtual void StartAnimation (BasePopupView popupView, float duration, bool reverse = false)
		{
			this.reverse = reverse;

			setPlayingState(true);

			popupView.StopAllCoroutines();
			popupView.StartCoroutine(AnimationEnds(popupView, duration));

		}
		public override void ExecuteShow (BasePopupView view, object param)
		{
			float autoRemoveDelay = (float)param;
			if (autoRemoveDelay > 0)
				view.StartCoroutine(AutoRemovePopup(view, autoRemoveDelay));
		}