BuildProfilePostprocessBuild
A build profile component that stores the callbacks to run after a build that used the profile.
Read time 4 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.CoreModule
- Inherits from: ScriptableObject
public class BuildProfilePostprocessBuild : ScriptableObject
Remarks
Add this component to a build profile with BuildProfile.AddComponent, and get it with BuildProfile.GetComponent. Each callback is an instance of a serializable class that implements IBuildProfilePostprocessBuild. The callbacks run only when the profile is the active build profile when post-build callbacks run. For an example, refer to IBuildProfilePostprocessBuild.
Properties
Property | Description |
|---|---|
| callbacks | The callbacks to run after a build that used the associated build profile. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |