Noirand icon

Untitled

Noirand | PRO | 03/25/16 07:06:36 AM UTC | 0 ⭐ | 214 👁️ | Never ⏰ | []
Lua |

420 B

|

None

|

0 👍

/

0 👎

<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

Comments