15 lines
363 B
C#
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;
|
|
}
|
|
}
|
|
}
|