docs.unity.cn
    Show / Hide Table of Contents

    Method LogWarning

    LogWarning(String)

    LogWarning can be used to write a log message.

    Declaration
    public static void LogWarning(string msg)
    Parameters
    Type Name Description
    String msg

    The msg to log

    Remarks

    LogWarning works the same way as Debug.LogWarning. Addressables logs warnings and errors so by default this function will log.

    Examples
                Addressables.LogWarning("Operation took longer than 1 minute");
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, June 26, 2023