where are the paths?

Hello folks!

I'm working with xml and so on...ok good for me you are thinking about...but

I have a little problem building the project for winnoz and for mac!

In the game I pass the xml with its path using: Application.dataPath... running the game in the IDE everything works great...logically...but when I build it as winnoz or mac standalone, the loading method can't find the path...

there is a way to say to my lovely build setting to consider this path? or other kind of way...

all the best unitys acolytes!

Application.dataPath points different places depending on where your game is running.

In the Unity editor: project's Assets folder

Mac build: 'Contents' folder in the package (right-click on the game, select "View Package Contents")

Windows build: Data subfolder

iPhone app: In app's writeable Documents directory

Webplayer build: URL to webplayer's data folder; use WWW class to access