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.

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

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
print(Application.persistentDataPath)