--Exemple
local Buttons = {}
Buttons._List = {
["Play"] = {
Callback = function()
print("You pressed Play !")
end,
CloseHUD = true
}
}
return Buttons
Make each button in a game a function while keeping it optimized ?
--Exemple
local Buttons = {}
Buttons._List = {
["Play"] = {
Callback = function()
print("You pressed Play !")
end,
CloseHUD = true
}
}
return Buttons
Make each button in a game a function while keeping it optimized ?