Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Lib.lua>
- fast = 15
- function hoge()
- ret = "require TEST!"
- return ret
- end
- <test.lua>
- import "UnityEngine"
- require("Lua/Lib")
- local test = {}
- function main()
- print("Hello Woooooooooorld")
- --hoge()
- text = "日本語OK?"
- --test.ret = hoge()
- test.ret = fast
- test.text = text
- --local obj = GameObject.Find("Text"):GetComponent(UI.Text)
- --obj.text = "booooo"
- return test
- end
Advertisement
Add Comment
Please, Sign In to add comment