Class CodeGenerator.Context | Unity NetCode | 0.3.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class CodeGenerator.Context

    Inheritance
    Object
    CodeGenerator.Context
    Namespace: Unity.NetCode.Editor
    Syntax
    public class Context

    Constructors

    Context(String, String, Boolean, String)

    Declaration
    public Context(string assembly, string generatedAssemblyNs, bool isRuntimeAssembly, string outputDir)
    Parameters
    Type Name Description
    String assembly
    String generatedAssemblyNs
    Boolean isRuntimeAssembly
    String outputDir

    Fields

    AssemblyName

    Declaration
    public string AssemblyName
    Field Value
    Type Description
    String

    batch

    Declaration
    public GhostCodeGen.Batch batch
    Field Value
    Type Description
    GhostCodeGen.Batch

    collectionAssemblies

    Declaration
    public HashSet<string> collectionAssemblies
    Field Value
    Type Description
    HashSet<String>

    FieldState

    Declaration
    public CodeGenerator.Context.CurrentFieldState FieldState
    Field Value
    Type Description
    CodeGenerator.Context.CurrentFieldState

    generatedNs

    Declaration
    public string generatedNs
    Field Value
    Type Description
    String

    generatedTypes

    Declaration
    public HashSet<string> generatedTypes
    Field Value
    Type Description
    HashSet<String>

    imports

    Declaration
    public HashSet<string> imports
    Field Value
    Type Description
    HashSet<String>

    IsRuntimeAssembly

    Declaration
    public bool IsRuntimeAssembly
    Field Value
    Type Description
    Boolean

    outputFolder

    Declaration
    public string outputFolder
    Field Value
    Type Description
    String

    typeCodeGenCache

    Declaration
    public Dictionary<string, GhostCodeGen> typeCodeGenCache
    Field Value
    Type Description
    Dictionary<String, GhostCodeGen>

    Methods

    ResetState()

    Declaration
    public void ResetState()
    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