|
|
@ -116,6 +116,15 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
|
|
|
|
""processors"": """",
|
|
|
|
""processors"": """",
|
|
|
|
""interactions"": """",
|
|
|
|
""interactions"": """",
|
|
|
|
""initialStateCheck"": false
|
|
|
|
""initialStateCheck"": false
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
""name"": ""Pause"",
|
|
|
|
|
|
|
|
""type"": ""Button"",
|
|
|
|
|
|
|
|
""id"": ""f130e6cf-9ecc-46b1-b37d-bf452dae29f0"",
|
|
|
|
|
|
|
|
""expectedControlType"": ""Button"",
|
|
|
|
|
|
|
|
""processors"": """",
|
|
|
|
|
|
|
|
""interactions"": """",
|
|
|
|
|
|
|
|
""initialStateCheck"": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
""bindings"": [
|
|
|
|
""bindings"": [
|
|
|
@ -272,6 +281,17 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
|
|
|
|
""action"": ""Eat"",
|
|
|
|
""action"": ""Eat"",
|
|
|
|
""isComposite"": false,
|
|
|
|
""isComposite"": false,
|
|
|
|
""isPartOfComposite"": false
|
|
|
|
""isPartOfComposite"": false
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
""name"": """",
|
|
|
|
|
|
|
|
""id"": ""81322c8b-dcdc-41da-a2af-8a9eb451461c"",
|
|
|
|
|
|
|
|
""path"": ""<Keyboard>/escape"",
|
|
|
|
|
|
|
|
""interactions"": """",
|
|
|
|
|
|
|
|
""processors"": """",
|
|
|
|
|
|
|
|
""groups"": """",
|
|
|
|
|
|
|
|
""action"": ""Pause"",
|
|
|
|
|
|
|
|
""isComposite"": false,
|
|
|
|
|
|
|
|
""isPartOfComposite"": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -290,6 +310,7 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
|
|
|
|
m_Movement_Interact = m_Movement.FindAction("Interact", throwIfNotFound: true);
|
|
|
|
m_Movement_Interact = m_Movement.FindAction("Interact", throwIfNotFound: true);
|
|
|
|
m_Movement_Mouse_Pos = m_Movement.FindAction("Mouse_Pos", throwIfNotFound: true);
|
|
|
|
m_Movement_Mouse_Pos = m_Movement.FindAction("Mouse_Pos", throwIfNotFound: true);
|
|
|
|
m_Movement_Eat = m_Movement.FindAction("Eat", throwIfNotFound: true);
|
|
|
|
m_Movement_Eat = m_Movement.FindAction("Eat", throwIfNotFound: true);
|
|
|
|
|
|
|
|
m_Movement_Pause = m_Movement.FindAction("Pause", throwIfNotFound: true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Dispose()
|
|
|
|
public void Dispose()
|
|
|
@ -359,6 +380,7 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
|
|
|
|
private readonly InputAction m_Movement_Interact;
|
|
|
|
private readonly InputAction m_Movement_Interact;
|
|
|
|
private readonly InputAction m_Movement_Mouse_Pos;
|
|
|
|
private readonly InputAction m_Movement_Mouse_Pos;
|
|
|
|
private readonly InputAction m_Movement_Eat;
|
|
|
|
private readonly InputAction m_Movement_Eat;
|
|
|
|
|
|
|
|
private readonly InputAction m_Movement_Pause;
|
|
|
|
public struct MovementActions
|
|
|
|
public struct MovementActions
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private @Inputs m_Wrapper;
|
|
|
|
private @Inputs m_Wrapper;
|
|
|
@ -373,6 +395,7 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
|
|
|
|
public InputAction @Interact => m_Wrapper.m_Movement_Interact;
|
|
|
|
public InputAction @Interact => m_Wrapper.m_Movement_Interact;
|
|
|
|
public InputAction @Mouse_Pos => m_Wrapper.m_Movement_Mouse_Pos;
|
|
|
|
public InputAction @Mouse_Pos => m_Wrapper.m_Movement_Mouse_Pos;
|
|
|
|
public InputAction @Eat => m_Wrapper.m_Movement_Eat;
|
|
|
|
public InputAction @Eat => m_Wrapper.m_Movement_Eat;
|
|
|
|
|
|
|
|
public InputAction @Pause => m_Wrapper.m_Movement_Pause;
|
|
|
|
public InputActionMap Get() { return m_Wrapper.m_Movement; }
|
|
|
|
public InputActionMap Get() { return m_Wrapper.m_Movement; }
|
|
|
|
public void Enable() { Get().Enable(); }
|
|
|
|
public void Enable() { Get().Enable(); }
|
|
|
|
public void Disable() { Get().Disable(); }
|
|
|
|
public void Disable() { Get().Disable(); }
|
|
|
@ -412,6 +435,9 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
|
|
|
|
@Eat.started -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
|
|
|
|
@Eat.started -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
|
|
|
|
@Eat.performed -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
|
|
|
|
@Eat.performed -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
|
|
|
|
@Eat.canceled -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
|
|
|
|
@Eat.canceled -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
|
|
|
|
|
|
|
|
@Pause.started -= m_Wrapper.m_MovementActionsCallbackInterface.OnPause;
|
|
|
|
|
|
|
|
@Pause.performed -= m_Wrapper.m_MovementActionsCallbackInterface.OnPause;
|
|
|
|
|
|
|
|
@Pause.canceled -= m_Wrapper.m_MovementActionsCallbackInterface.OnPause;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
m_Wrapper.m_MovementActionsCallbackInterface = instance;
|
|
|
|
m_Wrapper.m_MovementActionsCallbackInterface = instance;
|
|
|
|
if (instance != null)
|
|
|
|
if (instance != null)
|
|
|
@ -446,6 +472,9 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
|
|
|
|
@Eat.started += instance.OnEat;
|
|
|
|
@Eat.started += instance.OnEat;
|
|
|
|
@Eat.performed += instance.OnEat;
|
|
|
|
@Eat.performed += instance.OnEat;
|
|
|
|
@Eat.canceled += instance.OnEat;
|
|
|
|
@Eat.canceled += instance.OnEat;
|
|
|
|
|
|
|
|
@Pause.started += instance.OnPause;
|
|
|
|
|
|
|
|
@Pause.performed += instance.OnPause;
|
|
|
|
|
|
|
|
@Pause.canceled += instance.OnPause;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -462,5 +491,6 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
|
|
|
|
void OnInteract(InputAction.CallbackContext context);
|
|
|
|
void OnInteract(InputAction.CallbackContext context);
|
|
|
|
void OnMouse_Pos(InputAction.CallbackContext context);
|
|
|
|
void OnMouse_Pos(InputAction.CallbackContext context);
|
|
|
|
void OnEat(InputAction.CallbackContext context);
|
|
|
|
void OnEat(InputAction.CallbackContext context);
|
|
|
|
|
|
|
|
void OnPause(InputAction.CallbackContext context);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|