Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isTemporaryProject

Returns true if the current project was created as a temporary project.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool isTemporaryProject { get; }

Remarks

A temporary project is one that was created using the "-temporary" command line argument. It is located in a temporary location in the filesystem (e.g. the user's TEMP or TMPDIR folder), and when closing the project the user will be prompted to select a permanent location for the project that it will be moved to.