Class UserDefinedTemplates
UserDefinedTemplates is used to add custom templates to the code-generation system. Add a partial class definition to an AssemblyDefinitionReference (.asmref) referencing Unity.NetCode, implement the Unity.NetCode.Generators.UserDefinedTemplates.RegisterTemplates(System.Collections.Generic.List{Unity.NetCode.Generators.TypeRegistryEntry},System.String) method by adding your new typesto the templates list.
Inherited Members
Namespace: Unity.NetCode.Generators
Syntax
public static class UserDefinedTemplates