using System.Collections; using System.Collections.Generic; using UnityEngine; public class interAreacheck : FlowInterObjectBase { public string otherName; // Start is called before the first frame update private void OnTriggerEnter(Collider other) { Debug.Log("´¥·¢"); if (first == true) { if (other.name == otherName) { ½»»¥Íê³É = true; } } } }