Class PlatformSwitchTrigger
Triggered when the active build platform changes.
Inheritance
UnityEngine.Object
    UnityEngine.ScriptableObject
    
    PlatformSwitchTrigger
  Namespace: QFSW.BA
Assembly: QFSW.BA.dll
Syntax
[CreateAssetMenu(fileName = "Platform Switch", menuName = "Build Automator/Build Script Triggers/Platform Switch", order = 6)]
public class PlatformSwitchTrigger : BuildScriptTrigger, IBuildScriptTrigger, IPlatformSwitch, IBuildEventHandlerMethods
OnPlatformSwitch(Platform, Platform, Boolean)
Declaration
public void OnPlatformSwitch(Platform oldPlatform, Platform newPlatform, bool isBuilding)Parameters
| Type | Name | Description | 
|---|---|---|
| Platform | oldPlatform | |
| Platform | newPlatform | |
| Boolean | isBuilding |