How to retrieve the object which is in centre position.

Hi i stuck in code can any one suggest. i have 3 object which i placed layerwise,now i translate my object when i stop translation one object had placed in center. now i try to find the object which is in centre but i m unable to retrieve center i find through script …

Another alternative. Use a raytrace from center of camera.

Simple replace Input.mousePosition to Vector3(Screen.width, 0, Screen.height)