Unity activate something only first collision

前端 未结 0 1776
情书的邮戳
情书的邮戳 2020-11-27 14:41

My aim is activate an event inside the OnTriggerEnter function only for once.

    void OnTriggerEnter(Collider coll)
{
    GameObject obj = GameObject.Find(&q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题