docs.unity.cn
    Show / Hide Table of Contents

    Trigger Event On Die

    Menu Path : GPU Event > Trigger Event On Die

    The Trigger Event On Die Block triggers the creation of a specified number of particles via a GPU Event when a particle dies. Trigger blocks always execute at the end of Update, regardless of where the block is in the Context.

    You can also use the Trigger block with various conditions to create more complex spawning behavior:

    img

    Block compatibility

    This Block is compatible with the following Contexts:

    • Update

    Block properties

    Input Type Description
    Count Uint The number of GPU Event particles to spawn once a particle dies.
    Output Type Description
    Evt GPU Event The GPU Event to trigger.
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, June 29, 2021