Class ScriptingDefinesBuildProcessor
A process step for the legacy build pipeline in Unity which ensures, if enabled that the GDX scripting define symbol is present for the target.
Inheritance
System.Object
ScriptingDefinesBuildProcessor
Implements
UnityEditor.Build.IPreprocessBuildWithReport
UnityEditor.Build.IOrderedCallback
Namespace: GDX.Editor.Build
Syntax
public class ScriptingDefinesBuildProcessor : IPreprocessBuildWithReport, IOrderedCallback
Properties
| Improve this Doc View SourcecallbackOrder
The priority for the processor to be executed, before defaults.
Declaration
public int callbackOrder { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The numerical value used to sort callbacks, lowest to highest. |
Methods
| Improve this Doc View SourceOnPreprocessBuild(BuildReport)
Ensures the build is made with GDX scripting define
Declaration
public void OnPreprocessBuild(BuildReport report)
Parameters
Type | Name | Description |
---|---|---|
UnityEditor.Build.Reporting.BuildReport | report | Build process reported information. |
Implements
UnityEditor.Build.IPreprocessBuildWithReport
UnityEditor.Build.IOrderedCallback