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

25 lines
463 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InteractiveArea4_7 : ToolBase
{ //public GameObject 触发物体;
// Start is called before the first frame update
protected override void Start()
{
base.Start();
EventTriggerListener.Get(transform.gameObject).onClick += g => { = true; };
}
protected override void Update()
{
base.Update();
}
}