UI 자동화를 위해 바인딩 기능 구현
- 유니티 에셋 인증 오류로 meta 재생성
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#if UNITY_EDITOR
|
||||
using System;
|
||||
using UnityEditor;
|
||||
|
||||
namespace UnityEngine.InputSystem.Editor
|
||||
{
|
||||
internal readonly struct SerializedInputActionMap
|
||||
{
|
||||
public SerializedInputActionMap(SerializedProperty serializedProperty)
|
||||
{
|
||||
wrappedProperty = serializedProperty ?? throw new ArgumentNullException(nameof(serializedProperty));
|
||||
name = serializedProperty.FindPropertyRelative(nameof(InputActionMap.m_Name)).stringValue;
|
||||
}
|
||||
|
||||
public string name { get; }
|
||||
public SerializedProperty wrappedProperty { get; }
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user