Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Arbor {
* ボタンを活性/非活性にします
public class ArborButtonInteractable : StateBehaviour {
[SerializeField] private UnityEngine.UI.Button _Button;
[SerializeField] private bool _Interactable;
public override void OnStateBegin() {
if (_Button) {
_Button.interactable = _Interactable;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment