tweak karate man's animator

remove debug print
This commit is contained in:
minenice55 2024-05-12 17:46:19 -04:00
parent 7cf7ff35b2
commit 423bf2e067
2 changed files with 3 additions and 4 deletions

View file

@ -8,7 +8,7 @@ AnimatorState:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: Jab m_Name: Jab
m_Speed: 1 m_Speed: 0.5
m_CycleOffset: 0 m_CycleOffset: 0
m_Transitions: [] m_Transitions: []
m_StateMachineBehaviours: [] m_StateMachineBehaviours: []
@ -750,7 +750,7 @@ AnimatorState:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: ManKick m_Name: ManKick
m_Speed: 1 m_Speed: 0.5
m_CycleOffset: 0 m_CycleOffset: 0
m_Transitions: [] m_Transitions: []
m_StateMachineBehaviours: [] m_StateMachineBehaviours: []
@ -776,7 +776,7 @@ AnimatorState:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: Straight m_Name: Straight
m_Speed: 1 m_Speed: 0.5
m_CycleOffset: 0 m_CycleOffset: 0
m_Transitions: [] m_Transitions: []
m_StateMachineBehaviours: [] m_StateMachineBehaviours: []

View file

@ -246,7 +246,6 @@ namespace HeavenStudio.Games.Scripts_KarateMan
noNuriJabTime = cond.songPositionInBeatsAsDouble; noNuriJabTime = cond.songPositionInBeatsAsDouble;
break; break;
default: default:
Debug.Log($"Punching with beat {wantBeat} and lastPunchTime {lastPunchTime}");
if (wantBeat <= cond.GetBeatFromSongPos(lastPunchTime + Minigame.NgLateTime() - 1) + 0.25) if (wantBeat <= cond.GetBeatFromSongPos(lastPunchTime + Minigame.NgLateTime() - 1) + 0.25)
{ {
lastPunchTime = double.MinValue; lastPunchTime = double.MinValue;