refactor: move all files into Study_One folder

This commit is contained in:
2026-05-27 10:59:19 +08:00
parent 47b0f1d992
commit 54ee2462e0
6 changed files with 0 additions and 0 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);
}