fix animation
This commit is contained in:
parent
56a8a1781c
commit
c0e5980324
|
@ -124,7 +124,7 @@ AnimationClip:
|
||||||
m_Level: 0
|
m_Level: 0
|
||||||
m_CycleOffset: 0
|
m_CycleOffset: 0
|
||||||
m_HasAdditiveReferencePose: 0
|
m_HasAdditiveReferencePose: 0
|
||||||
m_LoopTime: 1
|
m_LoopTime: 0
|
||||||
m_LoopBlend: 0
|
m_LoopBlend: 0
|
||||||
m_LoopBlendOrientation: 0
|
m_LoopBlendOrientation: 0
|
||||||
m_LoopBlendPositionY: 0
|
m_LoopBlendPositionY: 0
|
||||||
|
|
|
@ -196,7 +196,7 @@ AnimationClip:
|
||||||
m_Level: 0
|
m_Level: 0
|
||||||
m_CycleOffset: 0
|
m_CycleOffset: 0
|
||||||
m_HasAdditiveReferencePose: 0
|
m_HasAdditiveReferencePose: 0
|
||||||
m_LoopTime: 1
|
m_LoopTime: 0
|
||||||
m_LoopBlend: 0
|
m_LoopBlend: 0
|
||||||
m_LoopBlendOrientation: 0
|
m_LoopBlendOrientation: 0
|
||||||
m_LoopBlendPositionY: 0
|
m_LoopBlendPositionY: 0
|
||||||
|
|
|
@ -142,7 +142,10 @@ namespace HeavenStudio.Games.Scripts_BuiltToScaleRvl
|
||||||
rodAnim.SetFloat("speed", -1f);
|
rodAnim.SetFloat("speed", -1f);
|
||||||
isMiss = true;
|
isMiss = true;
|
||||||
game.PlayBlockBounceMiss(this.nextPos);
|
game.PlayBlockBounceMiss(this.nextPos);
|
||||||
BeatAction.New(this, new List<BeatAction.Action>() {new BeatAction.Action(currentBeat + lengthBeat, () => RemoveAndDestroy())});
|
BeatAction.New(this, new List<BeatAction.Action>() {new BeatAction.Action(currentBeat + lengthBeat, delegate {
|
||||||
|
game.PlayBlockIdle(this.nextPos);
|
||||||
|
RemoveAndDestroy();
|
||||||
|
})});
|
||||||
}
|
}
|
||||||
private bool CanBounceHit()
|
private bool CanBounceHit()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue