Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Collider[] hitColliders = Physics.OverlapSphere(transform.position, 4);
- for (int i=0; i < hitColliders.Length; i++) {
- if (hitColliders [i].CompareTag ("Humpable")) {
- StartCoroutine (Hump(hitColliders [i].gameObject));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement