static int QPYX_SetCustomParticleData_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 3); UnityEngine.ParticleSystem QPYX_obj_YXQP = (UnityEngine.ParticleSystem)ToLua.CheckObject(L_YXQP, 1, typeof(UnityEngine.ParticleSystem)); System.Collections.Generic.List <UnityEngine.Vector4> QPYX_arg0_YXQP = (System.Collections.Generic.List <UnityEngine.Vector4>)ToLua.CheckObject(L_YXQP, 2, typeof(System.Collections.Generic.List <UnityEngine.Vector4>)); UnityEngine.ParticleSystemCustomData QPYX_arg1_YXQP = (UnityEngine.ParticleSystemCustomData)ToLua.CheckObject(L_YXQP, 3, typeof(UnityEngine.ParticleSystemCustomData)); QPYX_obj_YXQP.SetCustomParticleData(QPYX_arg0_YXQP, QPYX_arg1_YXQP); return(0); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int SetCustomParticleData(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); UnityEngine.ParticleSystem obj = (UnityEngine.ParticleSystem)ToLua.CheckObject(L, 1, typeof(UnityEngine.ParticleSystem)); System.Collections.Generic.List <UnityEngine.Vector4> arg0 = (System.Collections.Generic.List <UnityEngine.Vector4>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.Vector4>)); UnityEngine.ParticleSystemCustomData arg1 = (UnityEngine.ParticleSystemCustomData)ToLua.CheckObject(L, 3, typeof(UnityEngine.ParticleSystemCustomData)); obj.SetCustomParticleData(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetCustomParticleData(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); var obj = (UnityEngine.ParticleSystem)ToLua.CheckObject(L, 1, typeof(UnityEngine.ParticleSystem)); System.Collections.Generic.List <UnityEngine.Vector4> arg0 = (System.Collections.Generic.List <UnityEngine.Vector4>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.Vector4>)); UnityEngine.ParticleSystemCustomData arg1 = (UnityEngine.ParticleSystemCustomData)LuaDLL.luaL_checknumber(L, 3); var o = obj.GetCustomParticleData(arg0, arg1); LuaDLL.lua_pushinteger(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetCustomParticleData(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); UnityEngine.ParticleSystem obj = (UnityEngine.ParticleSystem)ToLua.CheckObject <UnityEngine.ParticleSystem>(L, 1); System.Collections.Generic.List <UnityEngine.Vector4> arg0 = (System.Collections.Generic.List <UnityEngine.Vector4>)ToLua.CheckObject(L, 2, TypeTraits <System.Collections.Generic.List <UnityEngine.Vector4> > .type); UnityEngine.ParticleSystemCustomData arg1 = (UnityEngine.ParticleSystemCustomData)ToLua.CheckObject(L, 3, TypeTraits <UnityEngine.ParticleSystemCustomData> .type); int o = obj.GetCustomParticleData(arg0, arg1); LuaDLL.lua_pushinteger(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetCustomParticleData(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.ParticleSystem.GetCustomParticleData"); #endif try { ToLua.CheckArgsCount(L, 3); UnityEngine.ParticleSystem obj = (UnityEngine.ParticleSystem)ToLua.CheckObject(L, 1, typeof(UnityEngine.ParticleSystem)); System.Collections.Generic.List <UnityEngine.Vector4> arg0 = (System.Collections.Generic.List <UnityEngine.Vector4>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.Vector4>)); UnityEngine.ParticleSystemCustomData arg1 = (UnityEngine.ParticleSystemCustomData)ToLua.CheckObject(L, 3, typeof(UnityEngine.ParticleSystemCustomData)); int o = obj.GetCustomParticleData(arg0, arg1); LuaDLL.lua_pushinteger(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }