docs.unity.cn
    Show / Hide Table of Contents

    Struct SystemGeneratorContext

    Namespace: Unity.Entities.SourceGen.SystemGeneratorCommon
    Syntax
    public readonly struct SystemGeneratorContext : ISourceGeneratorDiagnosable

    Constructors

    Name Description
    SystemGeneratorContext(TypeDeclarationSyntax, SemanticModel, Compilation, IEnumerable<String>)

    Fields

    Name Description
    NewMembers

    Properties

    Name Description
    Diagnostics
    PreprocessorSymbolNames
    SemanticModel
    SystemType

    Methods

    Name Description
    AddOnCreateForCompilerSyntax(String)
    CreateUniqueQueryField(EntityQueryDescription, String)
    GeneratePartialType()
    GetOrCreateComponentTypeField(ITypeSymbol, Boolean)
    GetOrCreateQueryField(EntityQueryDescription)
    MadeChangesToSystem()
    ReplaceNodeInMethod(SyntaxNode, SyntaxNode)
    ReplaceNodeInProperty(PropertyDeclarationSyntax, SyntaxNode, SyntaxNode)

    Extension Methods

    DiagnosticsLogger.LogError(ISourceGeneratorDiagnosable, String, String, String, Location, String)
    DiagnosticsLogger.LogWarning(ISourceGeneratorDiagnosable, String, String, String, Location, String)
    DiagnosticsLogger.LogInfo(ISourceGeneratorDiagnosable, String, String, String, Location, String)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use