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

23 lines
423 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIMouseUnblock : MonoBehaviour
{
private void OnDisable()
{
if (Player.Instance != null)
{
Player.Instance.updatePlayer = true;
}
}
private void OnEnable()
{
if (Player.Instance != null)
{
Player.Instance.updatePlayer = false;
}
}
}