Docs

ButtonComponent

ButtonComponent API exposed to Lua and C++ gameplay code.

Properties

Name Languages
label C++ | Lua
textureNormal C++ | Lua
textureHovered C++ | Lua
texturePressed C++ | Lua
textureDisabled C++ | Lua
colorNormal C++ | Lua
colorHovered C++ | Lua
colorPressed C++ | Lua
colorDisabled C++ | Lua
onPress C++ | Lua
onRelease C++ | Lua
pressed C++ | Lua
hovered C++ | Lua
disabled C++ | Lua
needUpdateButton C++ | Lua