public XluaMain() { XLuaEnv.AddLoader(new AssetBundleLoader()); XLuaEnv.onDispose += LuaDispose; XLuaEnv.DoString("require 'Main'" + " Awake()"); }
public override void Startup() { UpdateAssets(); Assets.Init(); XLuaEnv.AddLoader(new AssetBundleLoader()); new XluaMain(); }