Noirand

Untitled

Mar 25th, 2016
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. <Lib.lua>
  2.  
  3. fast = 15
  4.  
  5. function hoge()
  6.     ret = "require TEST!"
  7.  
  8.     return ret
  9. end
  10.  
  11.  
  12.  
  13. <test.lua>
  14. import "UnityEngine"
  15. require("Lua/Lib")
  16.  
  17. local test = {}
  18.  
  19. function main()
  20.  
  21.     print("Hello Woooooooooorld")
  22.  
  23.  
  24.     --hoge()
  25.  
  26.     text = "日本語OK?"
  27.  
  28.     --test.ret = hoge()
  29.     test.ret = fast
  30.     test.text = text
  31.    
  32.     --local obj = GameObject.Find("Text"):GetComponent(UI.Text)
  33.     --obj.text = "booooo"
  34.  
  35.     return test
  36. end
Advertisement
Add Comment
Please, Sign In to add comment