unity进入触发器和退出触发器的事件

//分别指图片文本 public GameObject imageKongLong; public GameObject imageQiang; void Start () { } void Update () { } //进入触发器 public void OnTriggerEnter(Collider other) { if (other.gameObject.tag == “konglong
相关文章
相关标签/搜索