25 lines
463 B
C#
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();
|
|
}
|
|
}
|