예제 #1
0
 void OnTriggerEnter2D(Collider2D other)
 {
     if (other.gameObject.tag == "CableCutter")
     {
         print("bateu no cabo");
         Destroy(gameObject);
         cable.UpdateLineRenderer(index, isMicJoint);
     }
 }