Application.dataPath Manual     Reference     Scripting  
Scripting > Runtime Classes > Application
Application.dataPath

static var dataPath : string

Description

Contains the path to the game data folder (Read Only).

The value depends on which platform you are running on:

Unity Editor:<path tp project folder>/Assets
Mac player:<path to player app bundle>/Contents
Win player:<path to executablename_Data folder>
Dasboard widget:<path to the dashboard widget bundle>
Web player:The absolute url to the player data file folder (without the actual data file name)

// print the path to the data folder
print (Application.dataPath);