static int LoadTextureFromLocal(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); LuaFramework.SDKManager obj = (LuaFramework.SDKManager)ToLua.CheckObject <LuaFramework.SDKManager>(L, 1); string arg0 = ToLua.CheckString(L, 2); System.Action <UnityEngine.Texture2D> arg1 = (System.Action <UnityEngine.Texture2D>)ToLua.CheckDelegate <System.Action <UnityEngine.Texture2D> >(L, 3); System.Collections.IEnumerator o = obj.LoadTextureFromLocal(arg0, arg1); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }