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