scripts
This commit is contained in:
@@ -0,0 +1,623 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom
|
||||
{
|
||||
// Token: 0x02000067 RID: 103
|
||||
public class AutoAdjustHeight : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0600155A RID: 5466 RVA: 0x0006E45C File Offset: 0x0006C65C
|
||||
private void IJPDEJFNCNH()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 1087f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600155B RID: 5467 RVA: 0x0006E500 File Offset: 0x0006C700
|
||||
private void JJHGPNEHNOM()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 584f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600155C RID: 5468 RVA: 0x0006E5A4 File Offset: 0x0006C7A4
|
||||
private void MHDFIOMCCMO()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 254f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600155D RID: 5469 RVA: 0x0006E648 File Offset: 0x0006C848
|
||||
private void NELGHAFCLKG()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 947f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.HFDJIFFPEFM().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600155E RID: 5470 RVA: 0x0006E6EC File Offset: 0x0006C8EC
|
||||
private void JCDJNJAIEJC()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 115f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600155F RID: 5471 RVA: 0x0006E790 File Offset: 0x0006C990
|
||||
private void EEPEOCMOGIL()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 353f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001560 RID: 5472 RVA: 0x0006E834 File Offset: 0x0006CA34
|
||||
private void NJBNCAPPAOH()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 1143f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001561 RID: 5473 RVA: 0x0006E8D8 File Offset: 0x0006CAD8
|
||||
private void IOGPMJADEIB()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 1142f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001562 RID: 5474 RVA: 0x0006E97C File Offset: 0x0006CB7C
|
||||
private void OBFADPEEBLG()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 0f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001563 RID: 5475 RVA: 0x0006EA20 File Offset: 0x0006CC20
|
||||
private void LHDEGPKAADF()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 1342f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.HFDJIFFPEFM().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001564 RID: 5476 RVA: 0x0006EAC4 File Offset: 0x0006CCC4
|
||||
private void GGGPONCFHPC()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 233f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001565 RID: 5477 RVA: 0x0006EB68 File Offset: 0x0006CD68
|
||||
private void PLKHINPPGPK()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 998f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001566 RID: 5478 RVA: 0x0006EC0C File Offset: 0x0006CE0C
|
||||
private void GPDOCPBDIHJ()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 228f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.HFDJIFFPEFM().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001567 RID: 5479 RVA: 0x0006ECB0 File Offset: 0x0006CEB0
|
||||
private void ENGNDJADBDF()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 965f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001568 RID: 5480 RVA: 0x0006ED54 File Offset: 0x0006CF54
|
||||
private void FKPJMANBHBO()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 304f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.HFDJIFFPEFM().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001569 RID: 5481 RVA: 0x0006EDF8 File Offset: 0x0006CFF8
|
||||
private void NEFFCEJLOCD()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 1709f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600156A RID: 5482 RVA: 0x0006EE9C File Offset: 0x0006D09C
|
||||
private void JKMNBLDOIMB()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 769f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600156B RID: 5483 RVA: 0x0006EF40 File Offset: 0x0006D140
|
||||
private void MJANJBNFEGG()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 74f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.HFDJIFFPEFM().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600156C RID: 5484 RVA: 0x0006EFE4 File Offset: 0x0006D1E4
|
||||
private void OPJLBOGKPPI()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 1908f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600156D RID: 5485 RVA: 0x0006F088 File Offset: 0x0006D288
|
||||
private void OEKOPBDDGCK()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 1134f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600156F RID: 5487 RVA: 0x0006F158 File Offset: 0x0006D358
|
||||
private void ELJEMOGNBOP()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 1047f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001570 RID: 5488 RVA: 0x0006F1FC File Offset: 0x0006D3FC
|
||||
private void DKDGOJGKHDM()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 1850f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001571 RID: 5489 RVA: 0x0006F2A0 File Offset: 0x0006D4A0
|
||||
private void LJICNBMGDMN()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 1194f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001572 RID: 5490 RVA: 0x0006F344 File Offset: 0x0006D544
|
||||
private void MJGFPAHIHGG()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 168f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.HFDJIFFPEFM().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001573 RID: 5491 RVA: 0x0006F3E8 File Offset: 0x0006D5E8
|
||||
private void JINABDGLFOB()
|
||||
{
|
||||
if (Player.OHCBAMAFIEO(base.transform.position, 1696f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.AJHHFNCFKNF().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001574 RID: 5492 RVA: 0x0006F48C File Offset: 0x0006D68C
|
||||
private void GAOLAABCLLJ()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 570f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.HFDJIFFPEFM().transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.AOKKHEAEGEL(position);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001575 RID: 5493 RVA: 0x0006F530 File Offset: 0x0006D730
|
||||
private void Update()
|
||||
{
|
||||
if (Player.IsCloseToAnyPlayer(base.transform.position, 2f))
|
||||
{
|
||||
if (!this.LAFPEGPCMMA)
|
||||
{
|
||||
this.LAFPEGPCMMA = true;
|
||||
Vector3 position = base.transform.position;
|
||||
if (Player.LocalPlayerExists)
|
||||
{
|
||||
position.y = Mathf.Clamp(Player.LocalPlayer.BGOGBEPJGPJ.transform.position.y - this.baseHeight, this.minYOffset, this.maxYOffset);
|
||||
}
|
||||
this.interpolator.KIJCBJAJPID = position;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.LAFPEGPCMMA = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040002C0 RID: 704
|
||||
[SerializeField]
|
||||
private float minYOffset = -0.5f;
|
||||
|
||||
// Token: 0x040002C1 RID: 705
|
||||
[SerializeField]
|
||||
private float maxYOffset = 0.5f;
|
||||
|
||||
// Token: 0x040002C2 RID: 706
|
||||
[SerializeField]
|
||||
private float baseHeight = 1.5f;
|
||||
|
||||
// Token: 0x040002C3 RID: 707
|
||||
[SerializeField]
|
||||
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
|
||||
private Interpolator interpolator;
|
||||
|
||||
// Token: 0x040002C4 RID: 708
|
||||
private bool LAFPEGPCMMA;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user