unity進入觸發器和退出觸發器的事件

//分別指圖片文本 public GameObject imageKongLong; public GameObject imageQiang; void Start () { } void Update () { } //進入觸發器 public void OnTriggerEnter(Collider other) { if (other.gameObject.tag == 「konglong
相關文章
相關標籤/搜索