format
typescript
Debug.Error(...args)class: Debug
description
Outputs an error message to the console.
Unlike Debug.Log and Debug.Warning, this method marks the message as an error, typically used to indicate serious issues or errors in the program that may prevent it from functioning properly.
parameter
| param_name | type | description |
|---|---|---|
| ...args | any[] | The error message. |
return
| type | description |
|---|---|
void |
code example
typescript
Debug.Error("print debug infomation");