mirror of
https://github.com/Insality/druid
synced 2025-09-28 02:22:19 +02:00
play sound example. Setup via settings
This commit is contained in:
@@ -4,7 +4,7 @@ local M = {}
|
||||
M.button = {
|
||||
IS_HOVER = true,
|
||||
IS_HOLD = true,
|
||||
BTN_SOUND = "button_click",
|
||||
BTN_SOUND = "click",
|
||||
BTN_SOUND_DISABLED = "button_click_disabled",
|
||||
HOVER_SCALE = vmath.vector3(-0.025, -0.025, 1),
|
||||
HOVER_TIME = 0.05,
|
||||
@@ -12,4 +12,15 @@ M.button = {
|
||||
}
|
||||
|
||||
|
||||
|
||||
function M.get_text(name)
|
||||
-- override to get text for localized text
|
||||
end
|
||||
|
||||
|
||||
function M.play_sound(name)
|
||||
-- override to play sound with name
|
||||
end
|
||||
|
||||
|
||||
return M
|
Reference in New Issue
Block a user