Hello, I wanted to ask what is the difference between module:Init() and module:_Init() and is there one.
local module = {}
function module:Init()
-- Something
end
function module:_Init()
-- Something
end
return module
Thanks!
Hello, I wanted to ask what is the difference between module:Init() and module:_Init() and is there one.
local module = {}
function module:Init()
-- Something
end
function module:_Init()
-- Something
end
return module
Thanks!
There are no differences between :Init() and :_Init(), other than the names. These would be user made methods as they are not default to Modules in Roblox. You can read more about what :Init() typically symbolizes, HERE!