docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Log

    Log(string, Object)

    Same as Log(object, Object), but does not print anything if tests are being run.

    Declaration
    public static void Log(string message, Object context = null)
    Parameters
    Type Name Description
    string message

    Log message for display.

    Object context

    Object to which the message applies.

    In This Article
    Back to top
    Copyright © 2024 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)