LuaControl
__call๏ปฟ
local proto = gui.LuaControlProto()
function proto:onRender(contents, _, mins, maxs)
contents:AddRectFilled(draw.Rect(mins, maxs), draw.color.White())
end
local my_custom_control = gui.LuaControl('my_control', proto, draw.Vec2(), draw.Vec2(24, 24))data
IsOutOfRect
IsOutOfClip
Highlight
LockInput
UnlockInput
IsLockedByMe
IsLockedByOther
IsInputLocked
Last updated