scripts
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x02000651 RID: 1617
|
||||
[Token(Token = "0x2000651")]
|
||||
[RequireComponent(typeof(ParticleSystem))]
|
||||
[StructLayout(3)]
|
||||
public class AutoDestroyParticleSystem : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06002EEC RID: 12012 RVA: 0x000C2CBC File Offset: 0x000C0EBC
|
||||
[Token(Token = "0x6002EEC")]
|
||||
[Address(RVA = "0x1D51100", Offset = "0x1D4FB00", VA = "0x181D51100")]
|
||||
private void Awake()
|
||||
{
|
||||
ParticleSystem component = base.GetComponent<ParticleSystem>();
|
||||
this.KFDPCHMHAIF = component;
|
||||
}
|
||||
|
||||
// Token: 0x06002EED RID: 12013 RVA: 0x000C2CD8 File Offset: 0x000C0ED8
|
||||
[Token(Token = "0x6002EED")]
|
||||
[Address(RVA = "0x1D51140", Offset = "0x1D4FB40", VA = "0x181D51140")]
|
||||
private void Update()
|
||||
{
|
||||
if (!this.KFDPCHMHAIF || !this.KFDPCHMHAIF.isPlaying)
|
||||
{
|
||||
global::UnityEngine.Object.Destroy(base.gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002EEE RID: 12014 RVA: 0x000C2D14 File Offset: 0x000C0F14
|
||||
[Token(Token = "0x6002EEE")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public AutoDestroyParticleSystem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04002846 RID: 10310
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4002846")]
|
||||
private ParticleSystem KFDPCHMHAIF;
|
||||
}
|
||||
Reference in New Issue
Block a user