using System.Collections; using System.Collections.Generic; using UnityEngine; public class InteractiveArea3_1 : 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(); } }