Beispiel #1
0
 public override void OnBehaviourPlay(Playable playable, FrameData info)
 {
     UpdateDelegates();
     if (invocationInfo != null)
     {
         invocationInfo.Invoke(IsMethodWithParam, ArgValue);
     }
 }
Beispiel #2
0
 public override void OnBehaviourPlay(Playable playable, FrameData info)
 {
     // Only invoke if time has passed to avoid invoking
     // repeatedly after resume
     if ((info.frameId == 0) || (info.deltaTime > 0))
     {
         UpdateDelegates();
         if (invocationInfo != null)
         {
             invocationInfo.Invoke(IsMethodWithParam, ArgValue);
         }
     }
 }