feat: Add UI options

This commit is contained in:
Jacob Chen
2022-01-19 02:05:02 +08:00
parent f40c4c9b63
commit e0393e582e

View File

@@ -331,6 +331,10 @@ re.on_draw_ui(function()
if string.len(status) > 0 then
imgui.text("[monster_has_hp_bar.lua] Status: " .. status);
end
_, monster_UI.enabled = imgui.checkbox("Enable monster health UI", monster_UI.enabled)
_, time_UI.enabled = imgui.checkbox("Enable quest time UI", time_UI.enabled)
_, damage_meter_UI.enabled = imgui.checkbox("Enable damage dealt UI", damage_meter_UI.enabled)
end);
re.on_frame(function()