public override void OnBehaviourPlay(Playable playable, FrameData info) { UpdateDelegates(); if (invocationInfo != null) { invocationInfo.Invoke(IsMethodWithParam, ArgValue); } }
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); } } }