docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property DisableDirectCall

    DisableDirectCall

    Gets or sets a boolean to disable the translation of a static method call as direct call to the generated native method. By default, when compiling static methods with Burst and calling them from C#, they will be translated to a direct call to the Burst generated method. code.

    Declaration
    public bool DisableDirectCall { get; set; }
    Property Value
    Type Description
    bool

    The default is false.

    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)