ModuleScript
Overview
local UtilityModule = {}
UtilityModule.IsShowMessage = true
-- When a function is defined with colon, it can reference the table using self within the function.
function UtilityModule:PrintMessage(message)
if not self.IsShowMessage then
return
end
print("PrintMessage : " .. message)
end
return UtilityModuleProperties
Methods
Events
See also
Module ScriptLast updated