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