Degulleo3D/Assets/Scripts/Character/Player/AnimatorEventRelay.cs
2025-05-15 14:33:59 +09:00

16 lines
329 B
C#

using UnityEngine;
public class AnimatorEventRelay : MonoBehaviour
{
private PlayerController _playerController;
private void Awake()
{
_playerController = GetComponentInParent<PlayerController>();
}
public void PlayAttackEffect()
{
_playerController?.PlayAttackEffect();
}
}