void Start() { if (LuaScriptMgr.Instance == null) { new LuaScriptMgr(); } mgr = LuaScriptMgr.Instance; Debug.Log(startLuaTexts.name); Debug.Log(mgr); mgr.DoStringFile(startLuaTexts.name, startLuaTexts.text); mgr.CallLuaFunction("test"); mgr.Start(); }