販売アニメーション修正
This commit is contained in:
parent
4bfb03fcff
commit
3b6fb95a31
|
|
@ -150,6 +150,7 @@ public class BrotherPinkView : SingletonMonoBehaviour<BrotherPinkView>
|
|||
public void StartPromotion()
|
||||
{
|
||||
isPromotion = true;
|
||||
animator.ResetTrigger(Normal);
|
||||
animator.SetTrigger(Promotion);
|
||||
Vector3 localPosition = RightPos;
|
||||
localPosition += Vector3.forward * (localPosition.y + Mathf.Abs(walkSideBottomPos));
|
||||
|
|
@ -168,12 +169,14 @@ public class BrotherPinkView : SingletonMonoBehaviour<BrotherPinkView>
|
|||
var time = stateInfo.normalizedTime;
|
||||
this.CallWaitForSeconds((1 - time % 1) * length - .3f, () =>
|
||||
{
|
||||
animator.ResetTrigger(Promotion);
|
||||
ResetMove();
|
||||
isPromotion = false;
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
animator.ResetTrigger(Promotion);
|
||||
ResetMove();
|
||||
isPromotion = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue