private IEnumerator handleDelayTrigger(float time, string actionName) { yield return(new WaitForSeconds(time)); if (null != SkeletonAnimator) { SkeletonAnimator.SetTrigger(actionName); FaceAnimator.SetTrigger(actionName); } yield return(null); }
public void SetTrigger(string actionName) { //Debug.LogError ("设置actionName------------actionName=" + actionName); SkeletonAnimator.SetTrigger(actionName); FaceAnimator.SetTrigger(actionName); }