162 lines
4.2 KiB
C#
162 lines
4.2 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000973 RID: 2419
|
|
public class SpawnObjects : MonoBehaviour
|
|
{
|
|
// Token: 0x0601232E RID: 74542 RVA: 0x00539BB8 File Offset: 0x00537DB8
|
|
private void PGELJEHELFN()
|
|
{
|
|
this.GDMNKJFMJIA = 880f;
|
|
this.IOPCCHMEIKH = 0;
|
|
}
|
|
|
|
// Token: 0x0601232F RID: 74543 RVA: 0x00539BCC File Offset: 0x00537DCC
|
|
private void GKDEONGKDLH()
|
|
{
|
|
if ((float)this.IOPCCHMEIKH < this.NumObjects)
|
|
{
|
|
this.GDMNKJFMJIA -= Time.deltaTime;
|
|
if (this.GDMNKJFMJIA < 1342f)
|
|
{
|
|
global::UnityEngine.Object.Instantiate<GameObject>(this.ObjectToSpawn, base.transform.position, base.transform.rotation);
|
|
this.GDMNKJFMJIA = this.Interval;
|
|
this.IOPCCHMEIKH += 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012330 RID: 74544 RVA: 0x00539C4C File Offset: 0x00537E4C
|
|
private void LHMGNEDHIHI()
|
|
{
|
|
if ((float)this.IOPCCHMEIKH < this.NumObjects)
|
|
{
|
|
this.GDMNKJFMJIA -= Time.deltaTime;
|
|
if (this.GDMNKJFMJIA < 1184f)
|
|
{
|
|
global::UnityEngine.Object.Instantiate<GameObject>(this.ObjectToSpawn, base.transform.position, base.transform.rotation);
|
|
this.GDMNKJFMJIA = this.Interval;
|
|
this.IOPCCHMEIKH++;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012331 RID: 74545 RVA: 0x00539CCC File Offset: 0x00537ECC
|
|
private void CBNFIOBLLIH()
|
|
{
|
|
this.GDMNKJFMJIA = 963f;
|
|
this.IOPCCHMEIKH = 0;
|
|
}
|
|
|
|
// Token: 0x06012332 RID: 74546 RVA: 0x00539CE0 File Offset: 0x00537EE0
|
|
private void JGOAIIIJNAI()
|
|
{
|
|
this.GDMNKJFMJIA = 1836f;
|
|
this.IOPCCHMEIKH = 1;
|
|
}
|
|
|
|
// Token: 0x06012333 RID: 74547 RVA: 0x00539CF4 File Offset: 0x00537EF4
|
|
private void Start()
|
|
{
|
|
this.GDMNKJFMJIA = 0f;
|
|
this.IOPCCHMEIKH = 0;
|
|
}
|
|
|
|
// Token: 0x06012335 RID: 74549 RVA: 0x00539D10 File Offset: 0x00537F10
|
|
private void JGFOPLONGBH()
|
|
{
|
|
if ((float)this.IOPCCHMEIKH < this.NumObjects)
|
|
{
|
|
this.GDMNKJFMJIA -= Time.deltaTime;
|
|
if (this.GDMNKJFMJIA < 568f)
|
|
{
|
|
global::UnityEngine.Object.Instantiate<GameObject>(this.ObjectToSpawn, base.transform.position, base.transform.rotation);
|
|
this.GDMNKJFMJIA = this.Interval;
|
|
this.IOPCCHMEIKH += 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012336 RID: 74550 RVA: 0x00539D90 File Offset: 0x00537F90
|
|
private void NEFFCEJLOCD()
|
|
{
|
|
if ((float)this.IOPCCHMEIKH < this.NumObjects)
|
|
{
|
|
this.GDMNKJFMJIA -= Time.deltaTime;
|
|
if (this.GDMNKJFMJIA < 27f)
|
|
{
|
|
global::UnityEngine.Object.Instantiate<GameObject>(this.ObjectToSpawn, base.transform.position, base.transform.rotation);
|
|
this.GDMNKJFMJIA = this.Interval;
|
|
this.IOPCCHMEIKH++;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012337 RID: 74551 RVA: 0x00539E10 File Offset: 0x00538010
|
|
private void Update()
|
|
{
|
|
if ((float)this.IOPCCHMEIKH < this.NumObjects)
|
|
{
|
|
this.GDMNKJFMJIA -= Time.deltaTime;
|
|
if (this.GDMNKJFMJIA < 0f)
|
|
{
|
|
global::UnityEngine.Object.Instantiate<GameObject>(this.ObjectToSpawn, base.transform.position, base.transform.rotation);
|
|
this.GDMNKJFMJIA = this.Interval;
|
|
this.IOPCCHMEIKH++;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012338 RID: 74552 RVA: 0x00539E90 File Offset: 0x00538090
|
|
private void EEPEOCMOGIL()
|
|
{
|
|
if ((float)this.IOPCCHMEIKH < this.NumObjects)
|
|
{
|
|
this.GDMNKJFMJIA -= Time.deltaTime;
|
|
if (this.GDMNKJFMJIA < 27f)
|
|
{
|
|
global::UnityEngine.Object.Instantiate<GameObject>(this.ObjectToSpawn, base.transform.position, base.transform.rotation);
|
|
this.GDMNKJFMJIA = this.Interval;
|
|
this.IOPCCHMEIKH += 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012339 RID: 74553 RVA: 0x00539F10 File Offset: 0x00538110
|
|
private void ENGNDJADBDF()
|
|
{
|
|
if ((float)this.IOPCCHMEIKH < this.NumObjects)
|
|
{
|
|
this.GDMNKJFMJIA -= Time.deltaTime;
|
|
if (this.GDMNKJFMJIA < 1888f)
|
|
{
|
|
global::UnityEngine.Object.Instantiate<GameObject>(this.ObjectToSpawn, base.transform.position, base.transform.rotation);
|
|
this.GDMNKJFMJIA = this.Interval;
|
|
this.IOPCCHMEIKH += 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601233A RID: 74554 RVA: 0x00539F90 File Offset: 0x00538190
|
|
private void KFAOLMFIFMH()
|
|
{
|
|
this.GDMNKJFMJIA = 1644f;
|
|
this.IOPCCHMEIKH = 0;
|
|
}
|
|
|
|
// Token: 0x040032DA RID: 13018
|
|
public GameObject ObjectToSpawn;
|
|
|
|
// Token: 0x040032DB RID: 13019
|
|
public float Interval;
|
|
|
|
// Token: 0x040032DC RID: 13020
|
|
public float NumObjects;
|
|
|
|
// Token: 0x040032DD RID: 13021
|
|
private float GDMNKJFMJIA;
|
|
|
|
// Token: 0x040032DE RID: 13022
|
|
private int IOPCCHMEIKH;
|
|
}
|