docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Hint

    Compile-time hint intrinsics.

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

    Methods

    Name Description
    Assume(bool)

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

    Likely(bool)

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

    Unlikely(bool)

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

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)