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

Method Start

Assets/XLua/Tutorial/LoadLuaScript/ByString/ByString.cs:19–23  ·  view source on GitHub ↗

Use this for initialization

()

Source from the content-addressed store, hash-verified

17 LuaEnv luaenv = null;
18 // Use this for initialization
19 void Start()
20 {
21 luaenv = new LuaEnv();
22 luaenv.DoString("print('hello world')");
23 }
24
25 // Update is called once per frame
26 void Update()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected