docs.unity.cn
    Show / Hide Table of Contents

    Kill (AABox)

    Menu Path : Kill > Kill (AABox)

    The Kill (AABox) Block kills (sets the alive attribute to false) particles depending on where they are in comparison to a given AABox.

    Block settings

    Setting Type Description
    Mode Enum The method Unity uses to determine whether to kill a particle. The options are:
    • Solid: Kills particles within the AABox.
    • Inverted: Kills particles outside of the AABox.

    Block compatibility

    This Block is compatible with the following Contexts:

    • Initialize
    • Update
    • Any output Context

    Block properties

    Input Type Description
    Box AABox The box to compare particle position to.

    Remark

    • If you use this block inside an output context, particles temporarily disappear, but don't stay killed.
    • Make sure to enable the Reap Particles option in update, otherwise killed particles don't disappear.
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, June 29, 2021