docs.unity3d.com
    Show / Hide Table of Contents

    Delegate GhostComponentSerializer.RestoreFromBackupDelegate

    Delegate method used to restore the state of a replicated component from the Unity.NetCode.GhostPredictionHistoryState buffer. Because the history buffer perform a memory copy of the whole component data, it is necessary to call this method to ensure only the replicated portion of the component is actually restored.

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Syntax
    public delegate void RestoreFromBackupDelegate(IntPtr componentData, IntPtr backupData);
    Parameters
    Type Name Description
    IntPtr componentData
    IntPtr backupData
    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