temporaryCachePath
Contains the path to a temporary data / cache directory (Read Only).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static string temporaryCachePath { get; }
Remarks
This path is unique per Unity project, but it isn't unique for multiple concurrent instances of the same project.
To obtain unique temporary paths, use FileUtil.GetUniqueTempPathInProject.
Examples
using UnityEngine;public class Example : MonoBehaviour{ void Start() { // print the path to the temporary data folder print(Application.temporaryCachePath); }}