docs.unity.cn
    Show / Hide Table of Contents

    Method Assume

    Assume(Boolean)

    Hints to the compiler that the condition can be assumed to be true.

    Declaration
    public static void Assume(bool condition)
    Parameters
    Type Name Description
    Boolean condition

    The boolean condition that can be assumed to be true.

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