2024-10-29 06:45:18 +00:00
|
|
|
using UnityEngine.InputSystem;
|
|
|
|
|
2025-02-10 02:13:46 +00:00
|
|
|
namespace DDD
|
2024-10-29 06:45:18 +00:00
|
|
|
{
|
|
|
|
// PlayerInput 확장
|
|
|
|
public static class PlayerInputExtensions
|
|
|
|
{
|
|
|
|
public static bool IsInitialized(this PlayerInput playerInput)
|
|
|
|
{
|
|
|
|
// currentActionMap이 할당되면 초기화 완료로 간주
|
|
|
|
return playerInput.currentActionMap != null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|