tweak karate man's animator

remove debug print
This commit is contained in:
minenice55 2024-05-12 17:46:19 -04:00
parent 94eeb1b0f9
commit 90b5956a74
2 changed files with 3 additions and 4 deletions

View file

@ -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: []

View file

@ -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;