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 RegisterTemplates(List<TypeRegistryEntry>, string) method by adding your new typesto the templates list.
Inherited Members
Namespace: Unity.Netcode.Generators
Assembly: Unity.NetCode.dll
Syntax
[MovedFrom(true, "Unity.NetCode.Generators", null, null)]
public static class UserDefinedTemplates