docs.unity.cn
    Show / Hide Table of Contents

    Class Hint

    Compile-time hint intrinsics.

    Inheritance
    Object
    Hint
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Burst.CompilerServices
    Syntax
    public static class Hint

    Methods

    Name Description
    Assume(Boolean)

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

    Likely(Boolean)

    Hints to the compiler that the condition is likely to be true.

    Unlikely(Boolean)

    Hints to the compiler that the condition is unlikely to be true.

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