static int GetPlaybackState(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.ParticleSystem obj = (UnityEngine.ParticleSystem)ToLua.CheckObject(L, 1, typeof(UnityEngine.ParticleSystem)); UnityEngine.ParticleSystem.PlaybackState o = obj.GetPlaybackState(); ToLua.PushValue(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }