scripts
This commit is contained in:
@@ -0,0 +1,893 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x0200003A RID: 58
|
||||
public class PhysicsButtonVisual : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06000C04 RID: 3076 RVA: 0x0003DBA8 File Offset: 0x0003BDA8
|
||||
private void PALPHLDFBEK()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C05 RID: 3077 RVA: 0x0003DC8C File Offset: 0x0003BE8C
|
||||
private void BCJGHBEAMOB()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C06 RID: 3078 RVA: 0x0003DD70 File Offset: 0x0003BF70
|
||||
private void KJBPHNKFCAM()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C07 RID: 3079 RVA: 0x0003DDD8 File Offset: 0x0003BFD8
|
||||
private void ABBDFEGOFPH()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C08 RID: 3080 RVA: 0x0003DE40 File Offset: 0x0003C040
|
||||
private void JHCOJFFBMKO()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C09 RID: 3081 RVA: 0x0003DF24 File Offset: 0x0003C124
|
||||
private void NBOKPDLLKLO()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C0A RID: 3082 RVA: 0x0003DF8C File Offset: 0x0003C18C
|
||||
private void JLOMELEDCLK()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C0B RID: 3083 RVA: 0x0003DFF4 File Offset: 0x0003C1F4
|
||||
private void BMPLLKKNDMO()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C0C RID: 3084 RVA: 0x0003E0D8 File Offset: 0x0003C2D8
|
||||
private void HMNKEJIIBBG()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C0D RID: 3085 RVA: 0x0003E1BC File Offset: 0x0003C3BC
|
||||
private void GMCAFHKKLIH()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C0E RID: 3086 RVA: 0x0003E2A0 File Offset: 0x0003C4A0
|
||||
private void ELBDAIAMMGB()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C0F RID: 3087 RVA: 0x0003E308 File Offset: 0x0003C508
|
||||
private void KHENCKEEPDB()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C10 RID: 3088 RVA: 0x0003E370 File Offset: 0x0003C570
|
||||
private void DHAEEPCMCMI()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C11 RID: 3089 RVA: 0x0003E3D8 File Offset: 0x0003C5D8
|
||||
private void IPAPMGBLCNF()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C12 RID: 3090 RVA: 0x0003E440 File Offset: 0x0003C640
|
||||
private void HFOBMBAHEAM()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C13 RID: 3091 RVA: 0x0003E524 File Offset: 0x0003C724
|
||||
private void Awake()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C14 RID: 3092 RVA: 0x0003E58C File Offset: 0x0003C78C
|
||||
private void AHLJCBDGPJH()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C15 RID: 3093 RVA: 0x0003E670 File Offset: 0x0003C870
|
||||
private void GCOFOGPIJJA()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C16 RID: 3094 RVA: 0x0003E6D8 File Offset: 0x0003C8D8
|
||||
private void FNNCEMJECLP()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C18 RID: 3096 RVA: 0x0003E754 File Offset: 0x0003C954
|
||||
private void CMLDKFKHDJG()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C19 RID: 3097 RVA: 0x0003E838 File Offset: 0x0003CA38
|
||||
private void OLEBPMMFNIF()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C1A RID: 3098 RVA: 0x0003E8A0 File Offset: 0x0003CAA0
|
||||
private void NALJBDAAOHL()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C1B RID: 3099 RVA: 0x0003E984 File Offset: 0x0003CB84
|
||||
private void NMOBMJGJCCC()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C1C RID: 3100 RVA: 0x0003E9EC File Offset: 0x0003CBEC
|
||||
private void OGIAEJOOCDD()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C1D RID: 3101 RVA: 0x0003EAD0 File Offset: 0x0003CCD0
|
||||
private void JLAMLNOHONO()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C1E RID: 3102 RVA: 0x0003EBB4 File Offset: 0x0003CDB4
|
||||
private void DBNEKEJKCBE()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C1F RID: 3103 RVA: 0x0003EC1C File Offset: 0x0003CE1C
|
||||
private void BACNJJKPEOO()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C20 RID: 3104 RVA: 0x0003EC84 File Offset: 0x0003CE84
|
||||
private void AGFKLOKAJPO()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C21 RID: 3105 RVA: 0x0003ED68 File Offset: 0x0003CF68
|
||||
private void DFJGLGEHABD()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C22 RID: 3106 RVA: 0x0003EE4C File Offset: 0x0003D04C
|
||||
private void FIDMEJHMGJI()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C23 RID: 3107 RVA: 0x0003EEB4 File Offset: 0x0003D0B4
|
||||
private void JFFLHAMMGAH()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C24 RID: 3108 RVA: 0x0003EF1C File Offset: 0x0003D11C
|
||||
private void IDFGKJHJBLA()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C25 RID: 3109 RVA: 0x0003EF84 File Offset: 0x0003D184
|
||||
private void OPDMENDFALI()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C26 RID: 3110 RVA: 0x0003EFEC File Offset: 0x0003D1EC
|
||||
private void BOOMNFIGOAN()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C27 RID: 3111 RVA: 0x0003F054 File Offset: 0x0003D254
|
||||
private void MIOGJFJJIGH()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C28 RID: 3112 RVA: 0x0003F138 File Offset: 0x0003D338
|
||||
private void ACLEJODGFAK()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C29 RID: 3113 RVA: 0x0003F21C File Offset: 0x0003D41C
|
||||
private void ANPAMFJNGEN()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C2A RID: 3114 RVA: 0x0003F300 File Offset: 0x0003D500
|
||||
private void MJFPDJLEDCE()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C2B RID: 3115 RVA: 0x0003F3E4 File Offset: 0x0003D5E4
|
||||
private void FPFODKHDHCL()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C2C RID: 3116 RVA: 0x0003F4C8 File Offset: 0x0003D6C8
|
||||
private void MCECFOCPOCA()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C2D RID: 3117 RVA: 0x0003F530 File Offset: 0x0003D730
|
||||
private void KNNKLOBIIAA()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C2E RID: 3118 RVA: 0x0003F614 File Offset: 0x0003D814
|
||||
private void NJHKLFNEKGI()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C2F RID: 3119 RVA: 0x0003F6F8 File Offset: 0x0003D8F8
|
||||
private void CAFCGLNIPAG()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) < -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C30 RID: 3120 RVA: 0x0003F7DC File Offset: 0x0003D9DC
|
||||
private void BBKPAKKLOGB()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C31 RID: 3121 RVA: 0x0003F844 File Offset: 0x0003DA44
|
||||
private void DLCHNOFPONJ()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C32 RID: 3122 RVA: 0x0003F8AC File Offset: 0x0003DAAC
|
||||
private void AIHLAJIEBLP()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C33 RID: 3123 RVA: 0x0003F990 File Offset: 0x0003DB90
|
||||
private void BOFMPPGNKAI()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C34 RID: 3124 RVA: 0x0003F9F8 File Offset: 0x0003DBF8
|
||||
private void GJGEACMGLKP()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C35 RID: 3125 RVA: 0x0003FA60 File Offset: 0x0003DC60
|
||||
private void HEKMPKDNNGB()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C36 RID: 3126 RVA: 0x0003FAC8 File Offset: 0x0003DCC8
|
||||
private void BOPLFCBMKEL()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C37 RID: 3127 RVA: 0x0003FB30 File Offset: 0x0003DD30
|
||||
private void KJJHMMHAKAG()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) > Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C38 RID: 3128 RVA: 0x0003FC14 File Offset: 0x0003DE14
|
||||
private void FixedUpdate()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C39 RID: 3129 RVA: 0x0003FCF8 File Offset: 0x0003DEF8
|
||||
private void INGMCGGJGMA()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C3A RID: 3130 RVA: 0x0003FD60 File Offset: 0x0003DF60
|
||||
private void DLHCKBDMBAF()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C3B RID: 3131 RVA: 0x0003FDC8 File Offset: 0x0003DFC8
|
||||
private void PPOPAEBNGPC()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C3C RID: 3132 RVA: 0x0003FE30 File Offset: 0x0003E030
|
||||
private void OJAIDLPNIEI()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C3D RID: 3133 RVA: 0x0003FE98 File Offset: 0x0003E098
|
||||
private void OFOPHGFIAJM()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x06000C3E RID: 3134 RVA: 0x0003FF00 File Offset: 0x0003E100
|
||||
private void LKPCBLOFHKM()
|
||||
{
|
||||
Vector3 vector = this.unpressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag = Vector3.Dot(vector, this.PFNBHPKGHGG) >= -Mathf.Epsilon;
|
||||
if (flag)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.IJFBNEGJIEI.velocity = -this.PFNBHPKGHGG * this.releaseSpeed;
|
||||
Vector3 vector2 = this.pressedTransform.position - this.IJFBNEGJIEI.position;
|
||||
bool flag2 = Vector3.Dot(vector2, this.PFNBHPKGHGG) <= Mathf.Epsilon;
|
||||
if (flag2)
|
||||
{
|
||||
this.IJFBNEGJIEI.position = this.pressedTransform.position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C3F RID: 3135 RVA: 0x0003FFE4 File Offset: 0x0003E1E4
|
||||
private void PAKPLLPDIOG()
|
||||
{
|
||||
this.IJFBNEGJIEI = base.GetComponent<Rigidbody>();
|
||||
this.PFNBHPKGHGG = (this.pressedTransform.position - this.unpressedTransform.position).normalized;
|
||||
this.IJFBNEGJIEI.position = this.unpressedTransform.position;
|
||||
this.IJFBNEGJIEI.velocity = Vector3.zero;
|
||||
}
|
||||
|
||||
// Token: 0x040001B9 RID: 441
|
||||
[SerializeField]
|
||||
private float releaseSpeed = 0.5f;
|
||||
|
||||
// Token: 0x040001BA RID: 442
|
||||
[SerializeField]
|
||||
private Transform unpressedTransform;
|
||||
|
||||
// Token: 0x040001BB RID: 443
|
||||
[SerializeField]
|
||||
private Transform pressedTransform;
|
||||
|
||||
// Token: 0x040001BC RID: 444
|
||||
private Rigidbody IJFBNEGJIEI;
|
||||
|
||||
// Token: 0x040001BD RID: 445
|
||||
private Vector3 PFNBHPKGHGG;
|
||||
}
|
||||
Reference in New Issue
Block a user