/// <summary> /// 取消加载 /// </summary> public void CancelLoad() { StopAllCoroutines(); if (_luaEnv != null) { _luaEnv.Dispose(); _luaEnv = null; } if (_loader != null) { _loader.UnInit(); _loader = null; } LuaFramework = null; _updateFunc = null; }