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