ButtonFor
Shows a notification in the top-right that support the displaying button inputs for a defined ms
Argument | Data Type | Needed | Default | Description |
---|---|---|---|---|
Message | string | - | The message to show | |
Duration | number | - | The duration time in milliseconds (ms) |
Dont need to be called every frame
Example
ButtonFor("Example", 5000)
Tip
If you write {any_letter}
the content will be converted to button inputs
Example:ButtonFor("A simple message {X} {D}", 5000)
Result:
Last update: October 31, 2022
Created: June 27, 2021
Created: June 27, 2021