docs.unity3d.com
    Show / Hide Table of Contents

    Experimental: This feature is currently experimental and is subject to change in later major versions. To use this feature, enable Experimental Operators/Blocks in the Visual Effects tab of your Project's Preferences.

    Spawner Callbacks

    Spawner Callbacks is a C# API that allows you to define custom runtime behavior and create new Blocks for use in Spawn Contexts.

    Spawner Callbacks allow you to:

    • Control the Spawn Context state (Playing, Stopped, Delayed).
    • Read/Write the Output Spawn Count.
    • Read/Write SpawnEvent Attributes.

    Writing Spawner Callbacks

    The full Spawner Callbacks API reference is available here.

    Back to top
    Terms of use
    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