refactor button, add factory settings

This commit is contained in:
Insality
2019-03-27 09:09:49 +03:00
parent e4c8b65cc1
commit 5f2541c757
2 changed files with 134 additions and 136 deletions

15
druid/settings.lua Normal file
View File

@@ -0,0 +1,15 @@
local M = {}
M.button = {
IS_HOVER = true,
IS_HOLD = true,
BTN_SOUND = "button_click",
BTN_SOUND_DISABLED = "button_click_disabled",
HOVER_SCALE = vmath.vector3(-0.025, -0.025, 1),
HOVER_TIME = 0.05,
SCALE_CHANGE = vmath.vector3(-0.05, - 0.05, 1),
}
return M