static public int SetActiveVertexStreams(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         UnityEngine.ParticleSystemRenderer self = (UnityEngine.ParticleSystemRenderer)checkSelf(l);
         System.Collections.Generic.List <UnityEngine.ParticleSystemVertexStream> a1;
         checkType(l, 2, out a1);
         self.SetActiveVertexStreams(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }
Ejemplo n.º 2
0
 static public int SetActiveVertexStreams(IntPtr l)
 {
     try {
         UnityEngine.ParticleSystemRenderer self = (UnityEngine.ParticleSystemRenderer)checkSelf(l);
         System.Collections.Generic.List <UnityEngine.ParticleSystemVertexStream> a1;
         checkType(l, 2, out a1);
         self.SetActiveVertexStreams(a1);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 3
0
 static int QPYX_SetActiveVertexStreams_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         UnityEngine.ParticleSystemRenderer QPYX_obj_YXQP = (UnityEngine.ParticleSystemRenderer)ToLua.CheckObject(L_YXQP, 1, typeof(UnityEngine.ParticleSystemRenderer));
         System.Collections.Generic.List <UnityEngine.ParticleSystemVertexStream> QPYX_arg0_YXQP = (System.Collections.Generic.List <UnityEngine.ParticleSystemVertexStream>)ToLua.CheckObject(L_YXQP, 2, typeof(System.Collections.Generic.List <UnityEngine.ParticleSystemVertexStream>));
         QPYX_obj_YXQP.SetActiveVertexStreams(QPYX_arg0_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int SetActiveVertexStreams(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.ParticleSystemRenderer obj = (UnityEngine.ParticleSystemRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.ParticleSystemRenderer));
         System.Collections.Generic.List <UnityEngine.ParticleSystemVertexStream> arg0 = (System.Collections.Generic.List <UnityEngine.ParticleSystemVertexStream>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.ParticleSystemVertexStream>));
         obj.SetActiveVertexStreams(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }