863 lines
20 KiB
C#
863 lines
20 KiB
C#
using System;
|
|
using System.Collections;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
|
|
namespace Valve.VR.InteractionSystem
|
|
{
|
|
// Token: 0x020005E6 RID: 1510
|
|
public class ArcheryTarget : MonoBehaviour
|
|
{
|
|
// Token: 0x0600F03D RID: 61501 RVA: 0x0047D884 File Offset: 0x0047BA84
|
|
private void MJEKHMHGMHH()
|
|
{
|
|
this.IDDMCJAPMPJ();
|
|
}
|
|
|
|
// Token: 0x0600F03E RID: 61502 RVA: 0x0047D88C File Offset: 0x0047BA8C
|
|
private void MHONNDGFECM()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.DKDALEIJIJE());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F03F RID: 61503 RVA: 0x0047D8C4 File Offset: 0x0047BAC4
|
|
private void BGBAMKKKNFN()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.LAHFHHGKCDM());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F040 RID: 61504 RVA: 0x0047D8FC File Offset: 0x0047BAFC
|
|
private void JLDOAEBNNCL()
|
|
{
|
|
this.PGLECBGBPIH();
|
|
}
|
|
|
|
// Token: 0x0600F041 RID: 61505 RVA: 0x0047D904 File Offset: 0x0047BB04
|
|
private void PEJHDLGFIAB()
|
|
{
|
|
this.MHONNDGFECM();
|
|
}
|
|
|
|
// Token: 0x0600F042 RID: 61506 RVA: 0x0047D90C File Offset: 0x0047BB0C
|
|
private IEnumerator CGAEHCEHBMK()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
Quaternion rotation = this.baseTransform.rotation;
|
|
float time = Time.time;
|
|
float num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F043 RID: 61507 RVA: 0x0047D928 File Offset: 0x0047BB28
|
|
private void CFAJPBGELLL()
|
|
{
|
|
this.JPIFDKHJKHK();
|
|
}
|
|
|
|
// Token: 0x0600F044 RID: 61508 RVA: 0x0047D930 File Offset: 0x0047BB30
|
|
private void HHEMLPJMHCD()
|
|
{
|
|
this.ENPINLHCCHO();
|
|
}
|
|
|
|
// Token: 0x0600F045 RID: 61509 RVA: 0x0047D938 File Offset: 0x0047BB38
|
|
private void ABBKFKKJMIA()
|
|
{
|
|
this.IDDMCJAPMPJ();
|
|
}
|
|
|
|
// Token: 0x0600F046 RID: 61510 RVA: 0x0047D940 File Offset: 0x0047BB40
|
|
private void LKLAEMJNFJB()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.EPGIDJPPNLH());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F047 RID: 61511 RVA: 0x0047D978 File Offset: 0x0047BB78
|
|
private void PJPIOCJLJBI()
|
|
{
|
|
this.EHICHNHNAAJ();
|
|
}
|
|
|
|
// Token: 0x0600F048 RID: 61512 RVA: 0x0047D980 File Offset: 0x0047BB80
|
|
private void EHICHNHNAAJ()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.NGDIBIAIAOJ());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F049 RID: 61513 RVA: 0x0047D9B8 File Offset: 0x0047BBB8
|
|
private IEnumerator EANGIPDHIBB()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F04A RID: 61514 RVA: 0x0047D9D4 File Offset: 0x0047BBD4
|
|
private void FJOCPAODANL()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.EGBKFEMKFFC());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F04B RID: 61515 RVA: 0x0047DA0C File Offset: 0x0047BC0C
|
|
private IEnumerator JAOLLKLHILB()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F04C RID: 61516 RVA: 0x0047DA28 File Offset: 0x0047BC28
|
|
private void ONMEONOHNIP()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.MGHDKEHJHDK());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F04D RID: 61517 RVA: 0x0047DA60 File Offset: 0x0047BC60
|
|
private void FAFIDKHFJGM()
|
|
{
|
|
this.DADGJANFIEI();
|
|
}
|
|
|
|
// Token: 0x0600F04E RID: 61518 RVA: 0x0047DA68 File Offset: 0x0047BC68
|
|
private void MOBJMDLAPOP()
|
|
{
|
|
this.LDMIBOLLPJE();
|
|
}
|
|
|
|
// Token: 0x0600F04F RID: 61519 RVA: 0x0047DA70 File Offset: 0x0047BC70
|
|
private void NMDCIFPDHHB()
|
|
{
|
|
this.JPIFDKHJKHK();
|
|
}
|
|
|
|
// Token: 0x0600F050 RID: 61520 RVA: 0x0047DA78 File Offset: 0x0047BC78
|
|
private IEnumerator EPGIDJPPNLH()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F051 RID: 61521 RVA: 0x0047DA94 File Offset: 0x0047BC94
|
|
private IEnumerator BKFHCIHINFI()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F052 RID: 61522 RVA: 0x0047DAB0 File Offset: 0x0047BCB0
|
|
private IEnumerator GPODHLELCDM()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F053 RID: 61523 RVA: 0x0047DACC File Offset: 0x0047BCCC
|
|
private void JBKLNHDBBCD()
|
|
{
|
|
this.EHICHNHNAAJ();
|
|
}
|
|
|
|
// Token: 0x0600F054 RID: 61524 RVA: 0x0047DAD4 File Offset: 0x0047BCD4
|
|
private IEnumerator DKDALEIJIJE()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F055 RID: 61525 RVA: 0x0047DAF0 File Offset: 0x0047BCF0
|
|
private void EKOKIAEHCOP()
|
|
{
|
|
this.EHICHNHNAAJ();
|
|
}
|
|
|
|
// Token: 0x0600F056 RID: 61526 RVA: 0x0047DAF8 File Offset: 0x0047BCF8
|
|
private void ENPINLHCCHO()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.EGBKFEMKFFC());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F057 RID: 61527 RVA: 0x0047DB30 File Offset: 0x0047BD30
|
|
private void NGJCNAIJGBM()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.BHPFLJJEIHD());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F058 RID: 61528 RVA: 0x0047DB68 File Offset: 0x0047BD68
|
|
private void DADGJANFIEI()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.GGABIABCAHG());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F059 RID: 61529 RVA: 0x0047DBA0 File Offset: 0x0047BDA0
|
|
private void EGKBNBOMGKG()
|
|
{
|
|
this.MHONNDGFECM();
|
|
}
|
|
|
|
// Token: 0x0600F05A RID: 61530 RVA: 0x0047DBA8 File Offset: 0x0047BDA8
|
|
private void PGLECBGBPIH()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.LAHFHHGKCDM());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F05B RID: 61531 RVA: 0x0047DBE0 File Offset: 0x0047BDE0
|
|
private IEnumerator DBECNHMABGA()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F05C RID: 61532 RVA: 0x0047DBFC File Offset: 0x0047BDFC
|
|
private void KJJFKINBBEA()
|
|
{
|
|
this.IDDMCJAPMPJ();
|
|
}
|
|
|
|
// Token: 0x0600F05D RID: 61533 RVA: 0x0047DC04 File Offset: 0x0047BE04
|
|
private void PEBMKJEFMEH()
|
|
{
|
|
this.NKJGFBINCPP();
|
|
}
|
|
|
|
// Token: 0x0600F05E RID: 61534 RVA: 0x0047DC0C File Offset: 0x0047BE0C
|
|
private void PFIAELCHGEP()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.DBECNHMABGA());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F05F RID: 61535 RVA: 0x0047DC44 File Offset: 0x0047BE44
|
|
private void HBJEACCEMPM()
|
|
{
|
|
this.LDMIBOLLPJE();
|
|
}
|
|
|
|
// Token: 0x0600F060 RID: 61536 RVA: 0x0047DC4C File Offset: 0x0047BE4C
|
|
private void JPIFDKHJKHK()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.OJOFENGGKKB());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F061 RID: 61537 RVA: 0x0047DC84 File Offset: 0x0047BE84
|
|
private void IDDMCJAPMPJ()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.HFFENCPAPEK());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F062 RID: 61538 RVA: 0x0047DCBC File Offset: 0x0047BEBC
|
|
private void FGGCHJMMABE()
|
|
{
|
|
this.MHONNDGFECM();
|
|
}
|
|
|
|
// Token: 0x0600F063 RID: 61539 RVA: 0x0047DCC4 File Offset: 0x0047BEC4
|
|
private void DHNCOPMKJFH()
|
|
{
|
|
this.KAEDLOHKCIL();
|
|
}
|
|
|
|
// Token: 0x0600F064 RID: 61540 RVA: 0x0047DCCC File Offset: 0x0047BECC
|
|
private void GHNIFPBCCCO()
|
|
{
|
|
this.PPEIBLACIBK();
|
|
}
|
|
|
|
// Token: 0x0600F065 RID: 61541 RVA: 0x0047DCD4 File Offset: 0x0047BED4
|
|
private IEnumerator NPBBLHGGHDP()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F066 RID: 61542 RVA: 0x0047DCF0 File Offset: 0x0047BEF0
|
|
private IEnumerator HFFENCPAPEK()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F067 RID: 61543 RVA: 0x0047DD0C File Offset: 0x0047BF0C
|
|
private void INCGPNEAODD()
|
|
{
|
|
this.MHONNDGFECM();
|
|
}
|
|
|
|
// Token: 0x0600F068 RID: 61544 RVA: 0x0047DD14 File Offset: 0x0047BF14
|
|
private void NKJGFBINCPP()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.EGBKFEMKFFC());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F069 RID: 61545 RVA: 0x0047DD4C File Offset: 0x0047BF4C
|
|
private IEnumerator GAOEHMGKCPK()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F06A RID: 61546 RVA: 0x0047DD68 File Offset: 0x0047BF68
|
|
private void LDMIBOLLPJE()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.ABGLPMMMEFK());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F06B RID: 61547 RVA: 0x0047DDA0 File Offset: 0x0047BFA0
|
|
private IEnumerator MGHDKEHJHDK()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F06C RID: 61548 RVA: 0x0047DDBC File Offset: 0x0047BFBC
|
|
private IEnumerator OJOFENGGKKB()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F06D RID: 61549 RVA: 0x0047DDD8 File Offset: 0x0047BFD8
|
|
private void DLKFGGLIKEF()
|
|
{
|
|
this.MHONNDGFECM();
|
|
}
|
|
|
|
// Token: 0x0600F06E RID: 61550 RVA: 0x0047DDE0 File Offset: 0x0047BFE0
|
|
private void LCONPFMELHE()
|
|
{
|
|
this.JMODEKCEEFO();
|
|
}
|
|
|
|
// Token: 0x0600F06F RID: 61551 RVA: 0x0047DDE8 File Offset: 0x0047BFE8
|
|
private void PJDILFGCHEK()
|
|
{
|
|
this.NKJGFBINCPP();
|
|
}
|
|
|
|
// Token: 0x0600F070 RID: 61552 RVA: 0x0047DDF0 File Offset: 0x0047BFF0
|
|
private IEnumerator BHPFLJJEIHD()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F071 RID: 61553 RVA: 0x0047DE0C File Offset: 0x0047C00C
|
|
private IEnumerator EGBKFEMKFFC()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F072 RID: 61554 RVA: 0x0047DE28 File Offset: 0x0047C028
|
|
private void CCDFGKFKCLB()
|
|
{
|
|
this.ENPINLHCCHO();
|
|
}
|
|
|
|
// Token: 0x0600F073 RID: 61555 RVA: 0x0047DE30 File Offset: 0x0047C030
|
|
private IEnumerator GGABIABCAHG()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F074 RID: 61556 RVA: 0x0047DE4C File Offset: 0x0047C04C
|
|
private void IINDOMBNCKA()
|
|
{
|
|
this.JPIFDKHJKHK();
|
|
}
|
|
|
|
// Token: 0x0600F075 RID: 61557 RVA: 0x0047DE54 File Offset: 0x0047C054
|
|
private void KAPDEPJFALP()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.LAHFHHGKCDM());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F076 RID: 61558 RVA: 0x0047DE8C File Offset: 0x0047C08C
|
|
private void OOMJKMEGOOC()
|
|
{
|
|
this.NKJGFBINCPP();
|
|
}
|
|
|
|
// Token: 0x0600F077 RID: 61559 RVA: 0x0047DE94 File Offset: 0x0047C094
|
|
private void KMDGLHNDONK()
|
|
{
|
|
this.MHONNDGFECM();
|
|
}
|
|
|
|
// Token: 0x0600F078 RID: 61560 RVA: 0x0047DE9C File Offset: 0x0047C09C
|
|
private void IPGIPODLPIL()
|
|
{
|
|
this.JMODEKCEEFO();
|
|
}
|
|
|
|
// Token: 0x0600F079 RID: 61561 RVA: 0x0047DEA4 File Offset: 0x0047C0A4
|
|
private void NEAFNPPJDIF()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.EANGIPDHIBB());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F07A RID: 61562 RVA: 0x0047DEDC File Offset: 0x0047C0DC
|
|
private void BCCFNPINGEA()
|
|
{
|
|
this.NKJGFBINCPP();
|
|
}
|
|
|
|
// Token: 0x0600F07B RID: 61563 RVA: 0x0047DEE4 File Offset: 0x0047C0E4
|
|
private void IGNGBHMAHED()
|
|
{
|
|
this.PFIAELCHGEP();
|
|
}
|
|
|
|
// Token: 0x0600F07C RID: 61564 RVA: 0x0047DEEC File Offset: 0x0047C0EC
|
|
private void KAEDLOHKCIL()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.GAOEHMGKCPK());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F07D RID: 61565 RVA: 0x0047DF24 File Offset: 0x0047C124
|
|
private void JMODEKCEEFO()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.GAOEHMGKCPK());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F07E RID: 61566 RVA: 0x0047DF5C File Offset: 0x0047C15C
|
|
private void PPEIBLACIBK()
|
|
{
|
|
if (this.KCFCEMDJPLE)
|
|
{
|
|
this.onTakeDamage.Invoke();
|
|
base.StartCoroutine(this.GPODHLELCDM());
|
|
if (this.onceOnly)
|
|
{
|
|
this.KCFCEMDJPLE = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F07F RID: 61567 RVA: 0x0047DF94 File Offset: 0x0047C194
|
|
private void BJBOBHNLCFM()
|
|
{
|
|
this.DADGJANFIEI();
|
|
}
|
|
|
|
// Token: 0x0600F080 RID: 61568 RVA: 0x0047DF9C File Offset: 0x0047C19C
|
|
private IEnumerator LAHFHHGKCDM()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F081 RID: 61569 RVA: 0x0047DFB8 File Offset: 0x0047C1B8
|
|
private IEnumerator ABGLPMMMEFK()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600F083 RID: 61571 RVA: 0x0047DFF0 File Offset: 0x0047C1F0
|
|
private IEnumerator NGDIBIAIAOJ()
|
|
{
|
|
if (this.baseTransform)
|
|
{
|
|
rotation = this.baseTransform.rotation;
|
|
time = Time.time;
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = OFPFHHLNHIC.DKPCDKNIGLJ(Time.time, time, time + this.fallTime, 0f, 1f);
|
|
this.baseTransform.rotation = Quaternion.Lerp(rotation, this.fallenDownTransform.rotation, num);
|
|
yield return null;
|
|
}
|
|
}
|
|
yield return null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x04002297 RID: 8855
|
|
public UnityEvent onTakeDamage;
|
|
|
|
// Token: 0x04002298 RID: 8856
|
|
public bool onceOnly;
|
|
|
|
// Token: 0x04002299 RID: 8857
|
|
public Transform targetCenter;
|
|
|
|
// Token: 0x0400229A RID: 8858
|
|
public Transform baseTransform;
|
|
|
|
// Token: 0x0400229B RID: 8859
|
|
public Transform fallenDownTransform;
|
|
|
|
// Token: 0x0400229C RID: 8860
|
|
public float fallTime = 0.5f;
|
|
|
|
// Token: 0x0400229D RID: 8861
|
|
private const float ECDCAFHOGIL = 0.25f;
|
|
|
|
// Token: 0x0400229E RID: 8862
|
|
private bool KCFCEMDJPLE = true;
|
|
}
|
|
}
|