980 lines
34 KiB
C#
980 lines
34 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000C4 RID: 196
|
|
public class Dartboard : MonoBehaviour
|
|
{
|
|
// Token: 0x060027F7 RID: 10231 RVA: 0x000C158C File Offset: 0x000BF78C
|
|
private void BJLKNGBCJOD(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060027F8 RID: 10232 RVA: 0x000C1684 File Offset: 0x000BF884
|
|
private void PFDELAAGLBK(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060027F9 RID: 10233 RVA: 0x000C177C File Offset: 0x000BF97C
|
|
private void HCNLFOMEDOH(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060027FA RID: 10234 RVA: 0x000C1874 File Offset: 0x000BFA74
|
|
private void MIIAMLAKOIJ(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060027FB RID: 10235 RVA: 0x000C196C File Offset: 0x000BFB6C
|
|
private void LMEAJPGJKBE(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060027FC RID: 10236 RVA: 0x000C1A64 File Offset: 0x000BFC64
|
|
private void IMIEGELDPKD(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060027FD RID: 10237 RVA: 0x000C1B5C File Offset: 0x000BFD5C
|
|
private void CIPDOKHFOBC(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060027FE RID: 10238 RVA: 0x000C1C54 File Offset: 0x000BFE54
|
|
private void AHINDECCGCL(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060027FF RID: 10239 RVA: 0x000C1D4C File Offset: 0x000BFF4C
|
|
private void OOMMHBDCHOD(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002800 RID: 10240 RVA: 0x000C1E44 File Offset: 0x000C0044
|
|
private void PNJFFDJFAIE(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002801 RID: 10241 RVA: 0x000C1F3C File Offset: 0x000C013C
|
|
private void JDEDONCJCNJ(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002802 RID: 10242 RVA: 0x000C2034 File Offset: 0x000C0234
|
|
private void BLNDPCHMPHH(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002803 RID: 10243 RVA: 0x000C212C File Offset: 0x000C032C
|
|
private void IDKEEDHCFMJ(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002804 RID: 10244 RVA: 0x000C2224 File Offset: 0x000C0424
|
|
private void NHADFEIGIOO(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002805 RID: 10245 RVA: 0x000C231C File Offset: 0x000C051C
|
|
private void FFBDLPJICDM(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002806 RID: 10246 RVA: 0x000C2414 File Offset: 0x000C0614
|
|
private void BENMJJHFIPE(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002807 RID: 10247 RVA: 0x000C250C File Offset: 0x000C070C
|
|
private void AGHOKGKMHED(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002808 RID: 10248 RVA: 0x000C2604 File Offset: 0x000C0804
|
|
private void COLNIGMHNMO(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002809 RID: 10249 RVA: 0x000C26FC File Offset: 0x000C08FC
|
|
private void JMPBGPAOJNC(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600280A RID: 10250 RVA: 0x000C27F4 File Offset: 0x000C09F4
|
|
private void FJAGPALMKAN(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600280B RID: 10251 RVA: 0x000C28EC File Offset: 0x000C0AEC
|
|
private void MOAHKBDGKJP(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600280C RID: 10252 RVA: 0x000C29E4 File Offset: 0x000C0BE4
|
|
private void MGKLNNGKPPF(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600280D RID: 10253 RVA: 0x000C2ADC File Offset: 0x000C0CDC
|
|
private void OIBINCALDNN(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600280E RID: 10254 RVA: 0x000C2BD4 File Offset: 0x000C0DD4
|
|
private void FNHEMECFGGH(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600280F RID: 10255 RVA: 0x000C2CCC File Offset: 0x000C0ECC
|
|
private void NLFPCKCGGHO(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002810 RID: 10256 RVA: 0x000C2DC4 File Offset: 0x000C0FC4
|
|
private void OnTriggerEnter(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002811 RID: 10257 RVA: 0x000C2EBC File Offset: 0x000C10BC
|
|
private void OEANAFOEOIF(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002812 RID: 10258 RVA: 0x000C2FB4 File Offset: 0x000C11B4
|
|
private void HMGDOKDJMNL(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002813 RID: 10259 RVA: 0x000C30AC File Offset: 0x000C12AC
|
|
private void EFCBCCHLPKA(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002814 RID: 10260 RVA: 0x000C31A4 File Offset: 0x000C13A4
|
|
private void NPCIBONCGHD(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.AONJILIKFOI(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002815 RID: 10261 RVA: 0x000C329C File Offset: 0x000C149C
|
|
private void BHNPJACMCLD(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002817 RID: 10263 RVA: 0x000C33C0 File Offset: 0x000C15C0
|
|
private void CHKNPLHDFOA(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002818 RID: 10264 RVA: 0x000C34B8 File Offset: 0x000C16B8
|
|
private void OAEGDGEMOBD(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.Play(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002819 RID: 10265 RVA: 0x000C35B0 File Offset: 0x000C17B0
|
|
private void NDMLIPIJCIO(Collider CINAFOGLFIB)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
Dart dart = ((!(tool != null)) ? null : tool.GetComponent<Dart>());
|
|
if (dart != null)
|
|
{
|
|
float num = Vector2.Distance(base.transform.position, CINAFOGLFIB.transform.position);
|
|
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleOuter);
|
|
if (num < this.bullseyeRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.HitParticleBullseye);
|
|
}
|
|
else if (num < this.innerRadius)
|
|
{
|
|
pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.HitParticleInner);
|
|
}
|
|
if (num < this.outerRadius)
|
|
{
|
|
if (pooledParticle != null)
|
|
{
|
|
pooledParticle.NAPGKLNBMHN(CINAFOGLFIB.transform.position, CINAFOGLFIB.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.HitAudio, base.transform, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000551 RID: 1361
|
|
public float bullseyeRadius = 0.07f;
|
|
|
|
// Token: 0x04000552 RID: 1362
|
|
public float innerRadius = 0.15f;
|
|
|
|
// Token: 0x04000553 RID: 1363
|
|
public float outerRadius = 0.3f;
|
|
|
|
// Token: 0x04000554 RID: 1364
|
|
public PooledParticle HitParticleOuter;
|
|
|
|
// Token: 0x04000555 RID: 1365
|
|
public PooledParticle HitParticleInner;
|
|
|
|
// Token: 0x04000556 RID: 1366
|
|
public PooledParticle HitParticleBullseye;
|
|
|
|
// Token: 0x04000557 RID: 1367
|
|
public RecRoomAudioClip HitAudio;
|
|
}
|