CapersProject/Assets/02.Scripts/PlayerInputExtensions.cs
2024-10-29 15:45:18 +09:00

15 lines
363 B
C#

using UnityEngine.InputSystem;
namespace BlueWater
{
// PlayerInput 확장
public static class PlayerInputExtensions
{
public static bool IsInitialized(this PlayerInput playerInput)
{
// currentActionMap이 할당되면 초기화 완료로 간주
return playerInput.currentActionMap != null;
}
}
}