mirror of
https://github.com/wxd-gaming/test-all.git
synced 2026-05-20 16:09:01 +08:00
【测试】oninit
This commit is contained in:
@@ -44,15 +44,17 @@ function ddd()
|
||||
print("ddddddd")
|
||||
end
|
||||
|
||||
local test = TestClass.new()
|
||||
local test2 = TestClass.new()
|
||||
test:Name("t1")
|
||||
test:Level(2)
|
||||
function TestClass.onInit()
|
||||
local test = TestClass.new()
|
||||
local test2 = TestClass.new()
|
||||
test:Name("t1")
|
||||
test:Level(2)
|
||||
|
||||
test2:Name("t2")
|
||||
test2:Level(2)
|
||||
test2:Name("t2")
|
||||
test2:Level(2)
|
||||
|
||||
print("230 - 220 * 0.5", 230 - 220 * 0.5)
|
||||
print("230 - 220 * 0.5", 230 - 220 * 0.5)
|
||||
end
|
||||
|
||||
--local tmp_number = {}
|
||||
--print("测试 tonumber ", tonumber(tmp_number["t1"]))
|
||||
|
||||
Reference in New Issue
Block a user