docs.unity.cn
    Show / Hide Table of Contents

    Method ThrowCodeGenException

    ThrowCodeGenException<TDescription>()

    Used internally. It throws an an Exception if source generation did not run.

    Declaration
    public static TDescription ThrowCodeGenException<TDescription>()
    Returns
    Type Description
    TDescription

    Not applicable; the function always throws.

    Type Parameters
    Name Description
    TDescription

    Type of target object.

    Exceptions
    Type Condition
    Exception

    Source-gen not run

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023