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

static var persistentDataPath : string

Description

Contains the path to a persistent data directory (Read Only).

The value is a directory path where data expected to be kept between runs can be stored.

JavaScripts
// print the path to the persistent data folder
print (Application. persistentDataPath);

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
print(Application.persistentDataPath);
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
print(Application.persistentDataPath)