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

27 lines
509 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class interGameobjectcheck : FlowInterObjectBase
{
public GameObject[] ;
// Start is called before the first frame update
private void Start()
{
for (int i = 0; i < .Length; i++)
{
EventTriggerListener.Get([i]).onClick += g => { onclick(); };
}
}
public void onclick() {
= true;
}
}