static public int get_gravity(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.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); pushValue(l, true); pushValue(l, self.gravity); return(2); } 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 }
static public int set_rotationAttraction(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.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); UnityEngine.ParticleSystem.MinMaxCurve v; checkValueType(l, 2, out v); self.rotationAttraction = v; 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 }
static public int set_shape(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.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); UnityEngine.ParticleSystemForceFieldShape v; v = (UnityEngine.ParticleSystemForceFieldShape)LuaDLL.luaL_checkinteger(l, 2); self.shape = v; 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 }
static public int get_multiplyDragByParticleVelocity(IntPtr l) { try { UnityEngine.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); pushValue(l, true); pushValue(l, self.multiplyDragByParticleVelocity); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int get_endRange(IntPtr l) { try { UnityEngine.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); pushValue(l, true); pushValue(l, self.endRange); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_startRange(IntPtr l) { try { UnityEngine.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); float v; checkType(l, 2, out v); self.startRange = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_vectorFieldAttraction(IntPtr l) { try { UnityEngine.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); UnityEngine.ParticleSystem.MinMaxCurve v; checkValueType(l, 2, out v); self.vectorFieldAttraction = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_vectorField(IntPtr l) { try { UnityEngine.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); UnityEngine.Texture3D v; checkType(l, 2, out v); self.vectorField = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_multiplyDragByParticleVelocity(IntPtr l) { try { UnityEngine.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); bool v; checkType(l, 2, out v); self.multiplyDragByParticleVelocity = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_rotationRandomness(IntPtr l) { try { UnityEngine.ParticleSystemForceField self = (UnityEngine.ParticleSystemForceField)checkSelf(l); UnityEngine.Vector2 v; checkType(l, 2, out v); self.rotationRandomness = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
extern public void SetInfluence(int index, [NotNull] ParticleSystemForceField field);
extern public void RemoveInfluence([NotNull] ParticleSystemForceField field);
extern public bool IsAffectedBy(ParticleSystemForceField field);