ドキュメント

Unity Engine

Unity Engine

forceSingleInstance

Restrict standalone players to a single concurrent running instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.