ClientServer/Client/Assets/Scripts/Player/PlayerInputErrorhandler.cs
TG9six 03a642d635 first push
first push
2025-09-06 17:17:39 +04:00

18 lines
294 B
C#

using UnityEngine;
using UnityEngine.InputSystem;
public class PlayerInputErrorhandler : MonoBehaviour
{
private PlayerInput Input;
private void Start()
{
Input = GetComponent<PlayerInput>();
}
private void OnDisable()
{
Input.actions = null;
}
}