feat: Phase 1 complete - attack system, enemy damage, timers, and study notes summary

This commit is contained in:
2026-05-27 10:42:39 +08:00
parent c2b93486c5
commit 18394a6b46
18 changed files with 1885 additions and 56 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
public class PlayAnimationEvents : MonoBehaviour
{
private Player player;
private void Awake()
{
player = GetComponentInParent<Player>();
}
public void DamageEnemies() => player.DamageEnemies();
private void DisableMovementAndJump() => player.EnableMovementAndJump(false);
private void EnableMovementAndJump() => player.EnableMovementAndJump(true);
}