Method Log
Log(string)
Log can be used to write a Debug level log message.
Declaration
[Conditional("ADDRESSABLES_LOG_ALL")]
public static void Log(string msg)
Parameters
Type | Name | Description |
---|---|---|
string | msg | The msg to log |
Remarks
Log works the same as Debug.Log. Addressables only logs warnings and errors so by default this function does not log anything.
Examples
Addressables.Log("Unloading bundle");
Addressables.Log("<color=red>Unloading bundle</color> ");