format
typescript
Debug.Warning(...args)class: Debug
description
Outputs a warning message to the console.
Unlike Debug.Log, this method marks the message as a warning, typically used to indicate potential issues or potential errors to developers, but does not cause the program to crash.
parameter
| param_name | type | description |
|---|---|---|
| ...args | any[] | The warning message. |
return
| type | description |
|---|---|
void |
code example
typescript
Debug.Warning("print debug infomation");