Playvoi/Playvoi.Client/Assets/_Network/Auth/AuthButton.cs

26 lines
No EOL
467 B
C#

using System;
using UnityEngine;
using UnityEngine.UI;
namespace _Network.Auth
{
public class AuthButton : MonoBehaviour
{
public Button Button
{
get { return _button; }
}
private Button _button;
private void Awake()
{
_button = GetComponent<Button>();
}
public void SetInteractable(bool value)
{
_button.interactable = value;
}
}
}