Genesis Game Client Project Setup

This commit is contained in:
2026-03-13 12:43:28 +09:00
commit af885151b3
832 changed files with 630533 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using UnityEngine;
using UnityEngine.InputSystem;
public class CombatSystem : MonoBehaviour
{
private PlayerStateMachine _playerStateMachine;
private Animator _animator;
private float _chargeTimer;
[SerializeField] private Weapon _currentWeapon; // 현재 장착된 무기
void Awake()
{
_playerStateMachine = GetComponent<PlayerStateMachine>();
_animator = GetComponent<Animator>();
}
public void OnAttackInput(InputAction.CallbackContext context)
{
}
void Update()
{
if (_playerStateMachine.CurrentState == PlayerState.Charge)
_chargeTimer += Time.deltaTime;
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 79c1089a2d7d68f46a2f31d0593a19e0