I added module and did it as in example publicexamples/examples/click_game_object/click_game_object/click_game_object.script at master · britzl/publicexamples · GitHub but in doesn’t work? what i need to do?
local goput = require "main.goput"
I added module and did it as in example publicexamples/examples/click_game_object/click_game_object/click_game_object.script at master · britzl/publicexamples · GitHub but in doesn’t work? what i need to do?
local goput = require "main.goput"
You are using a GameObject script (.script
) as a Lua module (.lua
).
Just rename the file goput.script
to goput.lua
on disk.
yeah, my bad. I found it. Th