docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Switch

    The Switch node let the flow change its execution port when the case integer value of the selector is the same as the case value.

    Note: To add or remove case, right click on the node and select (Add Case or Remove Case). Tip: The Default output port will be executed if the selector value is in none of the Case value.

    Ports

    Inputs

    Port Name Type Default Value Description
    Trigger Trigger the validation of the Execution port that will execute.
    [Integer] The value that define which Exec port will be executed based on the Case value.
    [Integer] The value used to execute the matching Exec port.

    Outputs

    Port Name Type Default Value Description
    Trigger Execute next action if none of the switch values match the selector value
    Trigger Execute next action if its Matching Case # condition value is met.
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)