【发布时间】:2018-06-29 20:49:03
【问题描述】:
我统一创建动画。问题是她玩了1次。
void Update () {
...........
if (Count > KnifeCount) {
.........
animator.SetBool ("Scale", true);
InvokeRepeating ("DestroyClones", 0.5f, 0f);
}
}
void DestroyClones() {
int a = i + 1;
allowTap = true;
animator.SetBool ("Scale", false);
}
【问题讨论】: