docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023