HoloCop still in progress

This commit is contained in:
ThomasCharester committed 2026-10-28 16:52:34 +03:00
1 parent 430b250075
commit d3b2e4c8d8
54 files changed
+173233 -112995

No files matched your search

@@ -113,7 +113,13 @@ namespace Code.OfficeGame.BattleMode.Actions.Attacks
public void CompleteOrInterruptAction()
{
animator.Play(EntryStateHash, 0, 0f); // Создать None State и кинуть эту штуку туда
animator.Update(0f);
_entityHitBoxes.DisableAllHitboxes();
// TODO С нормальными анимациями не нужен будет рут моушен
animator.transform.localPosition = Vector3.zero;
animator.transform.localRotation = Quaternion.identity;
Finished = true;
}
@@ -128,7 +134,13 @@ namespace Code.OfficeGame.BattleMode.Actions.Attacks
_currentFrame++;
return _currentFrame >= _attackData.TotalFrames;
if(_currentFrame >= _attackData.TotalFrames)
{
_currentFrame = 0;
return true;
}
return false;
}
}
}