E_ElecCompetition/Electrical_inspectionCompet.../Assets/Script/Interactive objects/interButtoncheck.cs

23 lines
395 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class interButtoncheck : FlowInterObjectBase
{
public Button button;
// Start is called before the first frame update
private void Start()
{
button.onClick.AddListener(onclick);
}
public void onclick() {
½»»¥Íê³É = true;
}
}