Show / Hide Table of Contents

    Class PlatformSwitchTrigger

    Triggered when the active build platform changes.

    Inheritance
    Object
    UnityEngine.Object
    UnityEngine.ScriptableObject
    BuildScriptTrigger
    PlatformSwitchTrigger
    Implements
    IBuildScriptTrigger
    IPlatformSwitch
    IBuildEventHandler
    Inherited Members
    BuildScriptTrigger.OnTrigger
    BuildScriptTrigger.InvokeTrigger()
    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, IBuildEventHandler

    Methods

    OnPlatformSwitch(Platform, Platform, Boolean)

    Declaration
    public void OnPlatformSwitch(Platform oldPlatform, Platform newPlatform, bool isBuilding)
    Parameters
    Type Name Description
    Platform oldPlatform
    Platform newPlatform
    Boolean isBuilding

    Implements

    IBuildScriptTrigger
    IPlatformSwitch
    IBuildEventHandler

    Extension Methods

    CollectionExtensions.Yield<T>(T)
    Build Automator 2 by QFSW
    Back to top