Interface IGhostDefaultOverridesModifier | Unity NetCode | 0.3.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IGhostDefaultOverridesModifier

    Create a class implementing this interface in one of the NetCodeGen assemblies to override the default set of ghosts. There can only be exactly one instance of this, having more will give you errors.

    Namespace: Unity.NetCode.Editor
    Syntax
    public interface IGhostDefaultOverridesModifier

    Methods

    Modify(Dictionary<String, GhostAuthoringComponentEditor.GhostComponent>)

    Declaration
    void Modify(Dictionary<string, GhostAuthoringComponentEditor.GhostComponent> overrides)
    Parameters
    Type Name Description
    Dictionary<String, GhostAuthoringComponentEditor.GhostComponent> overrides

    ModifyAlwaysIncludedAssembly(HashSet<String>)

    Declaration
    void ModifyAlwaysIncludedAssembly(HashSet<string> alwaysIncludedAssemblies)
    Parameters
    Type Name Description
    HashSet<String> alwaysIncludedAssemblies

    ModifyTypeRegistry(TypeRegistry, String)

    Declaration
    void ModifyTypeRegistry(TypeRegistry typeRegistry, string netCodeGenAssemblyPath)
    Parameters
    Type Name Description
    TypeRegistry typeRegistry
    String netCodeGenAssemblyPath
    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