Files
LowPolyBattleSim/Library/PackageCache/com.unity.inputsystem@e2c83221d2dc/InputSystem/Editor/UITKAssetEditor/SerializedInputActionMap.cs
Caleb Sandford deQuincey ecdd3e2a9e intial commit
2025-06-27 23:27:49 +01:00

21 lines
581 B
C#

#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