docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Stepper

    The Stepper node will Execute a different Output flow every time the input port In is executed. The order of execution of the ports will change depending of the selected mode. **Mode:**Mode can be changed in the Visual script inspector.

    • Hold Every time the Stepper node input port is triggered, it will pass through the next execution port until the last one, were it will be stuck on it until the Reset input port is triggered. Expected execution with Hold: 1, 2, 3, 3, (...), 3
    • Loop Every time the Stepper node input port is triggered, it will pass through the next execution port. When the last port is executed, it restart from the first one. Expected execution with Hold: 1, 2, 3, 1, 2, 3
    • PingPong Every time the Stepper node input port is triggered, it will pass through the next execution port. When the last port is executed, the order is inverted. The order will change like an infinite exchange in a ping pong game. Expected execution with Ping Pong: 1, 2, 3, 2, 1, 2, 3, 2, 1, ...

    Note: You can add or remove execution ports by right clicking on the node and selecting ( Add Step, Remove Step).

    Ports

    Inputs

    Port Name Type Default Value Description
    Trigger Trigger the next execution port based on the selected mode.
    Trigger Trigger the first execution port.

    Outputs

    Port Name Type Default Value Description
    Trigger Execute next action from the current execution port.
    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)