scripts
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Core.Pools;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x02000678 RID: 1656
|
||||
[Token(Token = "0x2000678")]
|
||||
[StructLayout(3)]
|
||||
public class TreeLeafTrigger : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06002FD7 RID: 12247 RVA: 0x000C6BE8 File Offset: 0x000C4DE8
|
||||
[Token(Token = "0x6002FD7")]
|
||||
[Address(RVA = "0x1896070", Offset = "0x1894A70", VA = "0x181896070")]
|
||||
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<PooledParticle>(pooledParticle2);
|
||||
int num2 = 0;
|
||||
if (pooledParticle3 != num2)
|
||||
{
|
||||
Transform transform = GLPOLGOBLAA.transform;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
Quaternion identity = Quaternion.identity;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002FD8 RID: 12248 RVA: 0x000C6C58 File Offset: 0x000C4E58
|
||||
[Token(Token = "0x6002FD8")]
|
||||
[Address(RVA = "0x4D0420", Offset = "0x4CEE20", VA = "0x1804D0420")]
|
||||
public TreeLeafTrigger()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04002930 RID: 10544
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4002930")]
|
||||
[SerializeField]
|
||||
private PooledParticle leafParticlesPrefab;
|
||||
|
||||
// Token: 0x04002931 RID: 10545
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4002931")]
|
||||
[SerializeField]
|
||||
private bool playParticles = true;
|
||||
}
|
||||
Reference in New Issue
Block a user