示例#1
0
 private void KeyframeEventHandle(KeyframeEvent keyframeEvent, int currentFrame)
 {
     if (keyframeEvent.eventKeyframe == currentFrame)
     {
         keyframeEvent.OnKeyframeEvent();
     }
 }
示例#2
0
        private IEnumerator StartAnimationKeyframeEvent(KeyframeEvent Event)
        {
            yield return(new WaitForEndOfFrame());

            Event.OnKeyframeEvent();

            InvokeEvent(Event.ID);
        }