Class TypeRegistry
Syntax
public class TypeRegistry
Constructors
TypeRegistry(TypeRegistry.CodeGenType[])
Declaration
public TypeRegistry(TypeRegistry.CodeGenType[] types)
Parameters
Fields
k_TemplateRootPath
Declaration
public const string k_TemplateRootPath = "Packages/com.unity.netcode/Editor/CodeGenTemplates/DefaultTypes"
Field Value
Templates
Declaration
public Dictionary<TypeDescription, TypeTemplate> Templates
Field Value
Methods
CanGenerateType(TypeDescription)
Declaration
public bool CanGenerateType(TypeDescription description)
Parameters
Returns
RegisterType(Type, TypeAttribute, TypeTemplate)
Declaration
public void RegisterType(Type type, TypeAttribute attribute, TypeTemplate template)
Parameters
RegisterTypes(TypeRegistry.CodeGenType[])
Declaration
public void RegisterTypes(TypeRegistry.CodeGenType[] types)
Parameters