MCPcopy Create free account
hub / github.com/Tencent/xLua / AsyncTest

Class AsyncTest

Assets/XLua/Examples/07_AsyncTest/AsyncTest.cs:16–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace XLuaTest
15{
16 public class AsyncTest : MonoBehaviour
17 {
18 LuaEnv luaenv = null;
19
20 void Start()
21 {
22 luaenv = new LuaEnv();
23 luaenv.DoString("require 'async_test'");
24 }
25
26 // Update is called once per frame
27 void Update()
28 {
29 if (luaenv != null)
30 {
31 luaenv.Tick();
32 }
33 }
34 }
35}
36

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected