A game about forced loneliness, made by TACStudios
1#if UNITY_EDITOR
2using System;
3using UnityEditor;
4
5namespace UnityEngine.InputSystem.Editor
6{
7 internal readonly struct SerializedInputActionMap
8 {
9 public SerializedInputActionMap(SerializedProperty serializedProperty)
10 {
11 wrappedProperty = serializedProperty ?? throw new ArgumentNullException(nameof(serializedProperty));
12 name = serializedProperty.FindPropertyRelative(nameof(InputActionMap.m_Name)).stringValue;
13 }
14
15 public string name { get; }
16 public SerializedProperty wrappedProperty { get; }
17 }
18}
19
20#endif