using System; using Cpp2IlInjected; using RecRoom.Core.Pools; using UnityEngine; // Token: 0x0200067D RID: 1661 [Token(Token = "0x200067D")] public class TreeLeafTrigger : MonoBehaviour { // Token: 0x0600304F RID: 12367 RVA: 0x000C498C File Offset: 0x000C2B8C [Token(Token = "0x600304F")] [Address(RVA = "0x1325160", Offset = "0x1324160", VA = "0x181325160")] private void OnTriggerEnter(Collider GLPOLGOBLAA) { if (this.playParticles) { PooledParticle pooledParticle = this.leafParticlesPrefab; int num = 0; if (pooledParticle != num) { GlobalPool instance = GlobalPool.ONCPNMDGGKG; PooledParticle pooledParticle2 = this.leafParticlesPrefab; PooledParticle pooledParticle3 = instance.Acquire(pooledParticle2); int num2 = 0; if (pooledParticle3 != num2) { Transform transform = GLPOLGOBLAA.transform; Vector3 vector; float z = vector.z; Quaternion identity = Quaternion.identity; } } } } // Token: 0x06003050 RID: 12368 RVA: 0x000C49FC File Offset: 0x000C2BFC [Token(Token = "0x6003050")] [Address(RVA = "0x12DC7B0", Offset = "0x12DB7B0", VA = "0x1812DC7B0")] public TreeLeafTrigger() { } // Token: 0x04002811 RID: 10257 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4002811")] [SerializeField] private PooledParticle leafParticlesPrefab; // Token: 0x04002812 RID: 10258 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4002812")] [SerializeField] private bool playParticles = true; }