Class XRBuildHelper<T>
Base abstract class that provides some common functionality for plugins wishing to integrate with management assisted build.
Namespace: UnityEditor.XR.Management
Syntax
public abstract class XRBuildHelper<T> : IPreprocessBuildWithReport, IPostprocessBuildWithReport where T : Object
Type Parameters
Name | Description |
---|---|
T | The type parameter that will be used as the base type of the settings. |
Properties
BuildSettingsKey
Override of base IXxxprocessBuildWithReport
Declaration
public abstract string BuildSettingsKey { get; }
Property Value
Type | Description |
---|---|
String | A string specifying the key to be used to set/get settigns in EditorBuildSettings. |
callbackOrder
Override of base IXxxprocessBuildWithReport
Declaration
public virtual int callbackOrder { get; }
Property Value
Type | Description |
---|---|
Int32 | The callback order. |
Methods
OnPostprocessBuild(BuildReport)
Override of base IPostprocessBuildWithReport
Declaration
public virtual void OnPostprocessBuild(BuildReport report)
Parameters
Type | Name | Description |
---|---|---|
BuildReport | report | BuildReport instance passed in from build pipeline. |
OnPreprocessBuild(BuildReport)
Override of base IPreprocessBuildWithReport
Declaration
public virtual void OnPreprocessBuild(BuildReport report)
Parameters
Type | Name | Description |
---|---|---|
BuildReport | report | BuildReport instance passed in from build pipeline. |
SettingsForBuildTargetGroup(BuildTargetGroup)
Helper functin to return current settings for a specific build target.
Declaration
public virtual Object SettingsForBuildTargetGroup(BuildTargetGroup buildTargetGroup)
Parameters
Type | Name | Description |
---|---|---|
BuildTargetGroup | buildTargetGroup | An enum specifying which platform group this build is for. |
Returns
Type | Description |
---|---|
Object | A unity object representing the settings instance data for that build target, or null if not found. |