CapersProject/Assets/02.Scripts/PlayerInputExtensions.cs

15 lines
363 B
C#
Raw Normal View History

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