using System; using Cpp2IlInjected; using UnityEngine; // Token: 0x02000679 RID: 1657 [Token(Token = "0x2000679")] public class ParticleSystemsPlay : MonoBehaviour { // Token: 0x0600303D RID: 12349 RVA: 0x000C4468 File Offset: 0x000C2668 [Token(Token = "0x600303D")] [Address(RVA = "0x15F9310", Offset = "0x15F8310", VA = "0x1815F9310")] private void Start() { float num = this.destroyLifeTimeOverride; int num2 = 0; ParticleSystem[] componentsInChildren = base.GetComponentsInChildren(); int length = componentsInChildren.Length; if (num2 < length) { ParticleSystem particleSystem = componentsInChildren[num2]; ParticleSystem.MainModule main = particleSystem.main; ParticleSystem.MinMaxCurve minMaxCurve; AnimationCurve curveMax = minMaxCurve.m_CurveMax; float num3; num = num3; particleSystem.Clear(); particleSystem.Play(); num2++; } if (this.destroyOnDone) { global::UnityEngine.Object.Destroy(base.gameObject, num); } } // Token: 0x0600303E RID: 12350 RVA: 0x000C44E0 File Offset: 0x000C26E0 [Token(Token = "0x600303E")] [Address(RVA = "0x15F94D0", Offset = "0x15F84D0", VA = "0x1815F94D0")] public ParticleSystemsPlay() { } // Token: 0x040027FC RID: 10236 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40027FC")] [SerializeField] private bool destroyOnDone = true; // Token: 0x040027FD RID: 10237 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x40027FD")] [SerializeField] private float destroyLifeTimeOverride = 5f; }