To avoid this, we can trigger the event only if there are subscribers like so. void OnCollisionEnter2D(Collision2D col) { if(col.gameObject.tag ...
確定! 回上一頁