using System.Collections; using System.Collections.Generic; using UnityCommon; using UnityEngine; namespace DTYJ { public class TrainTrigger : MonoBehaviour { private void Start() { Utility.DelayExe(0.5f, () => { GetComponent().enabled = true; }); } //private void OnTriggerEnter(Collider other) //{ // Debug.Log($"enter+{other.name}"); //} //private void OnTriggerExit(Collider other) //{ // Debug.Log($"Exit+{other.name}"); //} } }