I\'m using the following code to detect the collision of multiple objects. It is working perfectly well, now what I need is a way to make it work for more than two GameObjec