1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
| require "LuaTestScript"
|
| local speed = 10
| local lightCpnt = nil
|
| local test=require 'LuaTestScript'
|
| function start()
| print("LuaTestBehaviour 1")
| LuaTestScript.sum1to100()
| end
|
| function update()
| end
|
| function ondestroy()
| print("lua destroy")
| end
|
|