protected GVRPickedObject findCollider ( GVRPickedObject [ ] pickList , GVRCollider findme ) { if ( pickList == null ) { return null ; } for ( GVRPickedObject hit : pickList ) { if ( ( hit != null ) && ( hit . hitCollider == findme ) ) { return hit ; } } return null ; }
Find the collision against a specific collider in a list of collisions .