docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace Unity.NetCode.Tests

    Classes

    MonoEventCallbackScriptableObject

    To be able to register callbacks before Awake is called. You can't register a callback directly on a prefab, the callback will be lost on the object that's instantiated. With the SO, you can register the callback on the SO, and then register the SO on the prefab and the callback will be kept.

    In This Article
    Back to top
    Copyright © 2026 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)