static int Get(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); LuaFramework.SoundManager obj = (LuaFramework.SoundManager)ToLua.CheckObject(L, 1, typeof(LuaFramework.SoundManager)); string arg0 = ToLua.CheckString(L, 2); UnityEngine.AudioClip o = obj.Get(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }