How to get the path from an asset

Hey all,

As the topic says, if I have a reference to an object, how (in the Editor) can I get the path to it?
I’m looking for a path like Application.dataPath but for a specific asset :wink:

Thanks!

I use one editor script from wiki, this one

http://wiki.unity3d.com/index.php?title=AssetPathPrinter

Thanks, that helped me lots!
For some reason I was being blind and unable to find AssetDatabase.GetAssetPath.

Thanks