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.
// 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)