In-game tools · function
emptyPanel
Replace a panel's contents with one line saying why there is nothing.
Explained in In-game tools.
function emptyPanel(root: UiNode, message: string): voidimport { emptyPanel } from '@driftengine/tools';Parameters
| Parameter | Type | Description |
|---|---|---|
root | UiNode | |
message | string |
In depth
Not interactive, because a message is not a control and a person who clicks it and gets a selection has learnt something untrue about the panel.