how to get distance and angle of any two object?

I am new to unity3d…In my project i need to calculate the distance/angle between center of the plane to any object located anywhere around center…

I need script in java script or C#

You might want to take a look at the Vector2/Vector3 Methods in the Unity Script Reference.

just look at them, i guess it’s enough for you