public static void OnFinished_(EZTweener tween) { EZJointTween tw = (EZJointTween)(tween); if (tw._n + 1 < tw._datas.Length) { EZJointTween.Play(tw._bone, tw._joint, tw.sprite_, tw.skew_, tw._datas, tw._speed, tw._n + 1, tw._time); } else { tw.enabled = false; tw._time = 0; tw._bone.SendMessage("OnFinished", tw, SendMessageOptions.DontRequireReceiver); } }
static public EZJointTween Begin(GameObject bone, GameObject joint, exSprite sprite, EZSkew skew, JsonSkeletalObj[] datas, float speed) { return(EZJointTween.Play(bone, joint, sprite, skew, datas, speed, 0, 0)); }