mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-09 11:15:07 +00:00
tweak karate man's animator
remove debug print
This commit is contained in:
parent
94eeb1b0f9
commit
90b5956a74
2 changed files with 3 additions and 4 deletions
|
@ -8,7 +8,7 @@ AnimatorState:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Jab
|
||||
m_Speed: 1
|
||||
m_Speed: 0.5
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
|
@ -750,7 +750,7 @@ AnimatorState:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: ManKick
|
||||
m_Speed: 1
|
||||
m_Speed: 0.5
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
|
@ -776,7 +776,7 @@ AnimatorState:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Straight
|
||||
m_Speed: 1
|
||||
m_Speed: 0.5
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
|
|
|
@ -246,7 +246,6 @@ namespace HeavenStudio.Games.Scripts_KarateMan
|
|||
noNuriJabTime = cond.songPositionInBeatsAsDouble;
|
||||
break;
|
||||
default:
|
||||
Debug.Log($"Punching with beat {wantBeat} and lastPunchTime {lastPunchTime}");
|
||||
if (wantBeat <= cond.GetBeatFromSongPos(lastPunchTime + Minigame.NgLateTime() - 1) + 0.25)
|
||||
{
|
||||
lastPunchTime = double.MinValue;
|
||||
|
|
Loading…
Reference in a new issue