options
The BuildOptions flags to apply when building the Player.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public BuildOptions options { readonly get; set; }
Remarks
Set this property to a bitwise combination of BuildOptions values before you pass BuildPlayerOptions to BuildPipeline.BuildPlayer. For example, set to create a development build and run it automatically after the build completes.
options = BuildOptions.Development | BuildOptions.AutoRunPlayer