431 lines
14 KiB
C#
431 lines
14 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020011B0 RID: 4528
|
|
public class TreeLeafTrigger : MonoBehaviour
|
|
{
|
|
// Token: 0x06026B79 RID: 158585 RVA: 0x00AC42F8 File Offset: 0x00AC24F8
|
|
private void GCHNGDHADIJ(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B7A RID: 158586 RVA: 0x00AC4358 File Offset: 0x00AC2558
|
|
private void JMPBGPAOJNC(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B7B RID: 158587 RVA: 0x00AC43B8 File Offset: 0x00AC25B8
|
|
private void IMIEGELDPKD(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B7C RID: 158588 RVA: 0x00AC4418 File Offset: 0x00AC2618
|
|
private void BLNDPCHMPHH(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B7D RID: 158589 RVA: 0x00AC4478 File Offset: 0x00AC2678
|
|
private void GPHDLIDHHOM(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B7E RID: 158590 RVA: 0x00AC44D8 File Offset: 0x00AC26D8
|
|
private void PBLMAGKMMFM(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B7F RID: 158591 RVA: 0x00AC4538 File Offset: 0x00AC2738
|
|
private void NAEAIHKDLOH(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B80 RID: 158592 RVA: 0x00AC4598 File Offset: 0x00AC2798
|
|
private void OnTriggerEnter(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B81 RID: 158593 RVA: 0x00AC45F8 File Offset: 0x00AC27F8
|
|
private void AHINDECCGCL(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B82 RID: 158594 RVA: 0x00AC4658 File Offset: 0x00AC2858
|
|
private void HCNLFOMEDOH(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B84 RID: 158596 RVA: 0x00AC46C8 File Offset: 0x00AC28C8
|
|
private void DILPLOENKBB(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B85 RID: 158597 RVA: 0x00AC4728 File Offset: 0x00AC2928
|
|
private void BJLKNGBCJOD(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B86 RID: 158598 RVA: 0x00AC4788 File Offset: 0x00AC2988
|
|
private void DMMHILIMEOE(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B87 RID: 158599 RVA: 0x00AC47E8 File Offset: 0x00AC29E8
|
|
private void FNHEMECFGGH(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B88 RID: 158600 RVA: 0x00AC4848 File Offset: 0x00AC2A48
|
|
private void BHNPJACMCLD(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B89 RID: 158601 RVA: 0x00AC48A8 File Offset: 0x00AC2AA8
|
|
private void COLNIGMHNMO(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B8A RID: 158602 RVA: 0x00AC4908 File Offset: 0x00AC2B08
|
|
private void BENMJJHFIPE(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B8B RID: 158603 RVA: 0x00AC4968 File Offset: 0x00AC2B68
|
|
private void OAEGDGEMOBD(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B8C RID: 158604 RVA: 0x00AC49C8 File Offset: 0x00AC2BC8
|
|
private void HMGDOKDJMNL(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B8D RID: 158605 RVA: 0x00AC4A28 File Offset: 0x00AC2C28
|
|
private void NPCIBONCGHD(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B8E RID: 158606 RVA: 0x00AC4A88 File Offset: 0x00AC2C88
|
|
private void CDENPAAPFNL(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B8F RID: 158607 RVA: 0x00AC4AE8 File Offset: 0x00AC2CE8
|
|
private void LGOMEMGMPAE(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B90 RID: 158608 RVA: 0x00AC4B48 File Offset: 0x00AC2D48
|
|
private void EFCBCCHLPKA(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B91 RID: 158609 RVA: 0x00AC4BA8 File Offset: 0x00AC2DA8
|
|
private void BGOOMAOHKLG(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B92 RID: 158610 RVA: 0x00AC4C08 File Offset: 0x00AC2E08
|
|
private void OEANAFOEOIF(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B93 RID: 158611 RVA: 0x00AC4C68 File Offset: 0x00AC2E68
|
|
private void PJBNPOCFKCL(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B94 RID: 158612 RVA: 0x00AC4CC8 File Offset: 0x00AC2EC8
|
|
private void CIPDOKHFOBC(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B95 RID: 158613 RVA: 0x00AC4D28 File Offset: 0x00AC2F28
|
|
private void NCKBPHOHPPD(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B96 RID: 158614 RVA: 0x00AC4D88 File Offset: 0x00AC2F88
|
|
private void PFDELAAGLBK(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B97 RID: 158615 RVA: 0x00AC4DE8 File Offset: 0x00AC2FE8
|
|
private void HKHAKNCNNCH(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B98 RID: 158616 RVA: 0x00AC4E48 File Offset: 0x00AC3048
|
|
private void HKKKDGBDCDJ(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026B99 RID: 158617 RVA: 0x00AC4EA8 File Offset: 0x00AC30A8
|
|
private void FGKDKFKMAGE(Collider CINAFOGLFIB)
|
|
{
|
|
if (this.playParticles && this.leafParticlesPrefab != null)
|
|
{
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.leafParticlesPrefab);
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, Quaternion.identity, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400618E RID: 24974
|
|
[SerializeField]
|
|
private PooledParticle leafParticlesPrefab;
|
|
|
|
// Token: 0x0400618F RID: 24975
|
|
[SerializeField]
|
|
private bool playParticles = true;
|
|
}
|