public void remove(ITransitionListener fx)
 {
     TransitionGUIFx[] arr = fx.getTransitions();
     if (arr == null)
     {
         return;
     }
     for (int i = 0, c = arr.Length; i < c; ++i)
     {
         transitions.Remove(arr[i]);
     }
 }
 public void register(ITransitionListener fx, bool managerDoStart)
 {
     TransitionGUIFx[] arr = fx.getTransitions();
     if (arr == null)
     {
         return;
     }
     for (int i = 0, c = arr.Length; i < c; ++i)
     {
         arr[i].setListener(fx);
         // wheter if the caller chooses to let the manager start its transitions scripts
         if (managerDoStart)
         {
             transitions.Add(arr[i]);
         }
     }
 }
示例#3
0
 public void setListener(ITransitionListener listener)
 {
     _listener = listener;
 }
示例#4
0
 public void SetTransitionListener(ITransitionListener transitionListener)
 {
     _mTransitionListener = transitionListener;
 }
		public void SetTransitionListener(ITransitionListener transitionListener)
		{
			_mTransitionListener = transitionListener;
		}