forceSingleInstance
Restrict standalone players to a single concurrent running instance.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool forceSingleInstance { get; set; }
Remarks
This detects at startup whether another instance of the same player is already running, and aborts with an error message if so.