1362 lines
49 KiB
C#
1362 lines
49 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000E26 RID: 3622
|
|
public class RemoteFollowCamera : MonoBehaviour
|
|
{
|
|
// Token: 0x0601DB29 RID: 121641 RVA: 0x00817F7C File Offset: 0x0081617C
|
|
public RemoteFollowCamera.JFNOAJOFBPG PBMAGCGGOOL()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB2A RID: 121642 RVA: 0x00817FB4 File Offset: 0x008161B4
|
|
private void LateUpdate()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(0f, this.targetTransform.rotation.eulerAngles.y, 0f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.rotation;
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.BirdsEye:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.rotation;
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.Default)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB2B RID: 121643 RVA: 0x008181A0 File Offset: 0x008163A0
|
|
public RemoteFollowCamera.JFNOAJOFBPG NMKJFCPAKNE()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB2C RID: 121644 RVA: 0x008181D8 File Offset: 0x008163D8
|
|
public RemoteFollowCamera.JFNOAJOFBPG CycleFollowMode()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 1) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB2D RID: 121645 RVA: 0x00818210 File Offset: 0x00816410
|
|
private void NLAMOLHBMCH()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(71f, this.targetTransform.rotation.eulerAngles.y, 936f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.JAOKGFMIPDI();
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.BirdsEye:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.OIGOGPNGNIL();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.None)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB2E RID: 121646 RVA: 0x008183FC File Offset: 0x008165FC
|
|
private void IGGLNNNCHFD()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB2F RID: 121647 RVA: 0x0081845C File Offset: 0x0081665C
|
|
private void JDAHFIJBMCL()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(1973f, this.targetTransform.rotation.eulerAngles.y, 758f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.None:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.AMBHJMACFFA();
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.HADCKDIMGHO();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.None)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB30 RID: 121648 RVA: 0x00818648 File Offset: 0x00816848
|
|
public Camera NLGNFCMMLLE()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB31 RID: 121649 RVA: 0x00818650 File Offset: 0x00816850
|
|
public Camera GCADFHNFKEK()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB32 RID: 121650 RVA: 0x00818658 File Offset: 0x00816858
|
|
public Camera HADADILNEJO()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB33 RID: 121651 RVA: 0x00818660 File Offset: 0x00816860
|
|
private void MNHFOINKMAG()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB34 RID: 121652 RVA: 0x008186C0 File Offset: 0x008168C0
|
|
private void CKCAFMKLADO()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB35 RID: 121653 RVA: 0x00818720 File Offset: 0x00816920
|
|
private void HKBNFKNLICF()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == (EAMMIOJHINO)5 || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB36 RID: 121654 RVA: 0x008187B4 File Offset: 0x008169B4
|
|
private void OnEnable()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000DC2 RID: 3522
|
|
// (get) Token: 0x0601DB37 RID: 121655 RVA: 0x00818814 File Offset: 0x00816A14
|
|
public Camera MJBAGMOHOKM
|
|
{
|
|
get
|
|
{
|
|
return this.camera;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB38 RID: 121656 RVA: 0x0081881C File Offset: 0x00816A1C
|
|
private void ICHDIDDBIJE()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB39 RID: 121657 RVA: 0x0081887C File Offset: 0x00816A7C
|
|
public RemoteFollowCamera.JFNOAJOFBPG NFIJJBBJNNE()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB3A RID: 121658 RVA: 0x008188B4 File Offset: 0x00816AB4
|
|
private void KPNLIAADHNJ()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, true);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Simple || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB3B RID: 121659 RVA: 0x00818948 File Offset: 0x00816B48
|
|
private void KMEHAACNJAG()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == (EAMMIOJHINO)8 || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB3C RID: 121660 RVA: 0x008189DC File Offset: 0x00816BDC
|
|
public Camera OJGHFPFENFK()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB3D RID: 121661 RVA: 0x008189E4 File Offset: 0x00816BE4
|
|
public RemoteFollowCamera.JFNOAJOFBPG CBKHMAJDJBI()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 1) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB3E RID: 121662 RVA: 0x00818A1C File Offset: 0x00816C1C
|
|
public Camera FHHPLLKKNGH()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB3F RID: 121663 RVA: 0x00818A24 File Offset: 0x00816C24
|
|
public Camera BMGLHHFFCGH()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB40 RID: 121664 RVA: 0x00818A2C File Offset: 0x00816C2C
|
|
private void HJDDOOOKPKB()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(33f, this.targetTransform.rotation.eulerAngles.y, 1847f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.OIGOGPNGNIL();
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.BirdsEye:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.ABNHFMOOFGM();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.None)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB41 RID: 121665 RVA: 0x00818C18 File Offset: 0x00816E18
|
|
public Camera FBMJDNKKAJE()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB42 RID: 121666 RVA: 0x00818C20 File Offset: 0x00816E20
|
|
public RemoteFollowCamera.JFNOAJOFBPG KKGLNEHOCBA()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB43 RID: 121667 RVA: 0x00818C58 File Offset: 0x00816E58
|
|
private void JHAAFBKANAL()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB44 RID: 121668 RVA: 0x00818CB8 File Offset: 0x00816EB8
|
|
public RemoteFollowCamera.JFNOAJOFBPG JKDNELBGMOH()
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB45 RID: 121669 RVA: 0x00818CC0 File Offset: 0x00816EC0
|
|
public RemoteFollowCamera.JFNOAJOFBPG DOKDOBOIGMI()
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB46 RID: 121670 RVA: 0x00818CC8 File Offset: 0x00816EC8
|
|
public Camera KMBHKBEGJOP()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB47 RID: 121671 RVA: 0x00818CD0 File Offset: 0x00816ED0
|
|
private void JHAMELDHDFM()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB48 RID: 121672 RVA: 0x00818D30 File Offset: 0x00816F30
|
|
private void MICFHMAIGIB()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == (EAMMIOJHINO)5 || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB49 RID: 121673 RVA: 0x00818DC4 File Offset: 0x00816FC4
|
|
public RemoteFollowCamera.JFNOAJOFBPG AIDEMOOLBEA()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB4A RID: 121674 RVA: 0x00818DFC File Offset: 0x00816FFC
|
|
private void FIDMEJHMGJI()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Fastest || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB4B RID: 121675 RVA: 0x00818E90 File Offset: 0x00817090
|
|
public Camera GKKGKAIGKLI()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB4C RID: 121676 RVA: 0x00818E98 File Offset: 0x00817098
|
|
public Camera NKIDGANJHHN()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB4D RID: 121677 RVA: 0x00818EA0 File Offset: 0x008170A0
|
|
private void BOFMPPGNKAI()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Simple || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB4E RID: 121678 RVA: 0x00818F34 File Offset: 0x00817134
|
|
private void Awake()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.PS4 || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB4F RID: 121679 RVA: 0x00818FC8 File Offset: 0x008171C8
|
|
private void ADKAPKKOHBC()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Beautiful || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB50 RID: 121680 RVA: 0x0081905C File Offset: 0x0081725C
|
|
public RemoteFollowCamera.JFNOAJOFBPG MPEHBCGPGHP()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 1) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB51 RID: 121681 RVA: 0x00819094 File Offset: 0x00817294
|
|
private void DBKCMEDBGPM()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(1942f, this.targetTransform.rotation.eulerAngles.y, 1483f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.JEOEONLPPCE();
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.BirdsEye:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.JAOKGFMIPDI();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.Default)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB52 RID: 121682 RVA: 0x00819280 File Offset: 0x00817480
|
|
public Camera LOKKDBDCJAO()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB53 RID: 121683 RVA: 0x00819288 File Offset: 0x00817488
|
|
private void JFBNKKPABOC()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB54 RID: 121684 RVA: 0x008192E8 File Offset: 0x008174E8
|
|
public RemoteFollowCamera.JFNOAJOFBPG KOEKNGFICON()
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB55 RID: 121685 RVA: 0x008192F0 File Offset: 0x008174F0
|
|
public Camera OMKFKHHILOB()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB56 RID: 121686 RVA: 0x008192F8 File Offset: 0x008174F8
|
|
public RemoteFollowCamera.JFNOAJOFBPG FHKIFFFFEII()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB57 RID: 121687 RVA: 0x00819330 File Offset: 0x00817530
|
|
private void BMHDKHIEFNK()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(1793f, this.targetTransform.rotation.eulerAngles.y, 1781f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.DPODJCOGNIF();
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.BirdsEye:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.DJPCAKBFKLI();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.None)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB58 RID: 121688 RVA: 0x0081951C File Offset: 0x0081771C
|
|
private void EFLPAJLJBAH()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB59 RID: 121689 RVA: 0x0081957C File Offset: 0x0081777C
|
|
public RemoteFollowCamera.JFNOAJOFBPG MMFMFPBPEDC()
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB5A RID: 121690 RVA: 0x00819584 File Offset: 0x00817784
|
|
public Camera JJAGOCLMCNA()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB5B RID: 121691 RVA: 0x0081958C File Offset: 0x0081778C
|
|
private void AOOMFDAFIAN()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(1685f, this.targetTransform.rotation.eulerAngles.y, 75f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.None:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.rotation;
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.OEBHAMHBDFA();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.None)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB5C RID: 121692 RVA: 0x00819778 File Offset: 0x00817978
|
|
public RemoteFollowCamera.JFNOAJOFBPG FKKCMODIHHI()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 1) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB5D RID: 121693 RVA: 0x008197B0 File Offset: 0x008179B0
|
|
public Camera DKNIMJHBEEL()
|
|
{
|
|
return this.camera;
|
|
}
|
|
|
|
// Token: 0x0601DB5F RID: 121695 RVA: 0x0081982C File Offset: 0x00817A2C
|
|
private void IDCGMAFGKCJ()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(1428f, this.targetTransform.rotation.eulerAngles.y, 940f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.None:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.KKGBOPPFNMI();
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.FBFKFLEKGEO();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.None)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB60 RID: 121696 RVA: 0x00819A18 File Offset: 0x00817C18
|
|
private void LMLGCEJKMFM()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB61 RID: 121697 RVA: 0x00819A78 File Offset: 0x00817C78
|
|
private void JOALGAGIDED()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(119f, this.targetTransform.rotation.eulerAngles.y, 567f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.None:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.OENPGPPMJNH();
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.ABNHFMOOFGM();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.Default)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB62 RID: 121698 RVA: 0x00819C64 File Offset: 0x00817E64
|
|
public RemoteFollowCamera.JFNOAJOFBPG FCBKMKJBMGA()
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB63 RID: 121699 RVA: 0x00819C6C File Offset: 0x00817E6C
|
|
private void LBACLNJNMFA()
|
|
{
|
|
if (this.targetTransform == null)
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
global::UnityEngine.Object.Destroy(base.gameObject);
|
|
return;
|
|
}
|
|
Quaternion quaternion = Quaternion.Euler(788f, this.targetTransform.rotation.eulerAngles.y, 1248f);
|
|
switch (this.currentFollowMode)
|
|
{
|
|
case RemoteFollowCamera.JFNOAJOFBPG.Default:
|
|
this.GOFCPKNMIFL = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
this.EGMHLEAFJFD = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.ThirdPerson:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.thirdPersonPlacementOffset.position;
|
|
this.EGMHLEAFJFD = quaternion * this.thirdPersonPlacementOffset.HADCKDIMGHO();
|
|
break;
|
|
case RemoteFollowCamera.JFNOAJOFBPG.BirdsEye:
|
|
this.GOFCPKNMIFL = this.targetTransform.position + quaternion * this.birdsEyePlacementOffset.position;
|
|
this.EGMHLEAFJFD = Quaternion.LookRotation(this.targetTransform.position - base.transform.position) * this.birdsEyePlacementOffset.PEALKPBPKAB();
|
|
break;
|
|
}
|
|
if (this.currentFollowMode != RemoteFollowCamera.JFNOAJOFBPG.None)
|
|
{
|
|
base.transform.position = Vector3.SmoothDamp(base.transform.position, this.GOFCPKNMIFL, ref this.IGOFELJMFOF, this.positionSmoothingTime);
|
|
base.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(base.transform.rotation, this.EGMHLEAFJFD, ref this.DMLNPLMICBL, this.rotationSmoothingTime);
|
|
}
|
|
else
|
|
{
|
|
base.transform.position = this.GOFCPKNMIFL;
|
|
base.transform.rotation = this.EGMHLEAFJFD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB64 RID: 121700 RVA: 0x00819E58 File Offset: 0x00818058
|
|
public RemoteFollowCamera.JFNOAJOFBPG BCPPAJNEJHE()
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB65 RID: 121701 RVA: 0x00819E60 File Offset: 0x00818060
|
|
private void FCMCMEBNFMK()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB66 RID: 121702 RVA: 0x00819EC0 File Offset: 0x008180C0
|
|
private void OLEBPMMFNIF()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, true);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == (EAMMIOJHINO)6 || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB67 RID: 121703 RVA: 0x00819F54 File Offset: 0x00818154
|
|
private void GKFFNLAHNKC()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB68 RID: 121704 RVA: 0x00819FB4 File Offset: 0x008181B4
|
|
private void NGOPCBJCNJM()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == (EAMMIOJHINO)6 || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB69 RID: 121705 RVA: 0x0081A048 File Offset: 0x00818248
|
|
public RemoteFollowCamera.JFNOAJOFBPG EMANGBHGOBN()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 1) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB6A RID: 121706 RVA: 0x0081A080 File Offset: 0x00818280
|
|
private void JFFLHAMMGAH()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Simple || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB6B RID: 121707 RVA: 0x0081A114 File Offset: 0x00818314
|
|
private void BEJPIHEKCML()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Beautiful || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.NFHNKOLHKOJ == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB6C RID: 121708 RVA: 0x0081A1A8 File Offset: 0x008183A8
|
|
private void CNIHJPOPHNN()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB6D RID: 121709 RVA: 0x0081A208 File Offset: 0x00818408
|
|
private void BFHHJINKJBH()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB6E RID: 121710 RVA: 0x0081A268 File Offset: 0x00818468
|
|
public RemoteFollowCamera.JFNOAJOFBPG BJLEJMKHDEE()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB6F RID: 121711 RVA: 0x0081A2A0 File Offset: 0x008184A0
|
|
public RemoteFollowCamera.JFNOAJOFBPG PNNFOIFHHIO()
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB70 RID: 121712 RVA: 0x0081A2A8 File Offset: 0x008184A8
|
|
public RemoteFollowCamera.JFNOAJOFBPG GOMEJHBKGAO()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB71 RID: 121713 RVA: 0x0081A2E0 File Offset: 0x008184E0
|
|
private void DLHCKBDMBAF()
|
|
{
|
|
this.GMLIEDPJLPB = this.targetTransform.InverseTransformPoint(base.transform.position);
|
|
this.JEAIIKNJOIN = this.targetTransform.MCKNNGGGBDG(base.transform.rotation);
|
|
base.transform.SetParent(this.targetTransform.parent, false);
|
|
if (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM != null && (SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == (EAMMIOJHINO)5 || SingletonMonoBehaviour<SettingsManager>.NCKMBFBMBFM.KNOMPAAJCKE() == EAMMIOJHINO.Fastest))
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB72 RID: 121714 RVA: 0x0081A374 File Offset: 0x00818574
|
|
private void MGFEKIHGOLK()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.None;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB73 RID: 121715 RVA: 0x0081A3D4 File Offset: 0x008185D4
|
|
public RemoteFollowCamera.JFNOAJOFBPG LCCPHNAGBPL()
|
|
{
|
|
this.currentFollowMode = (this.currentFollowMode + 0) % (RemoteFollowCamera.JFNOAJOFBPG)Enum.GetNames(typeof(RemoteFollowCamera.JFNOAJOFBPG)).Length;
|
|
Debug.LogError(this.currentFollowMode);
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x0601DB74 RID: 121716 RVA: 0x0081A40C File Offset: 0x0081860C
|
|
private void EOFOADLHFKL()
|
|
{
|
|
this.currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
if (this.targetTransform != null)
|
|
{
|
|
base.transform.position = this.targetTransform.TransformPoint(this.GMLIEDPJLPB);
|
|
base.transform.rotation = this.targetTransform.PAFJLHMDIMO(this.JEAIIKNJOIN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB75 RID: 121717 RVA: 0x0081A46C File Offset: 0x0081866C
|
|
public RemoteFollowCamera.JFNOAJOFBPG ACGNMGBNJKP()
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
|
|
// Token: 0x17000DC3 RID: 3523
|
|
// (get) Token: 0x0601DB76 RID: 121718 RVA: 0x0081A474 File Offset: 0x00818674
|
|
public RemoteFollowCamera.JFNOAJOFBPG IDJAPMHOOLA
|
|
{
|
|
get
|
|
{
|
|
return this.currentFollowMode;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04004DAB RID: 19883
|
|
[SerializeField]
|
|
[Header("Camera")]
|
|
private Transform targetTransform;
|
|
|
|
// Token: 0x04004DAC RID: 19884
|
|
[SerializeField]
|
|
private Camera camera;
|
|
|
|
// Token: 0x04004DAD RID: 19885
|
|
[SerializeField]
|
|
[Header("Smoothing")]
|
|
private float positionSmoothingTime = 0.05f;
|
|
|
|
// Token: 0x04004DAE RID: 19886
|
|
[SerializeField]
|
|
private float rotationSmoothingTime = 0.05f;
|
|
|
|
// Token: 0x04004DAF RID: 19887
|
|
[SerializeField]
|
|
[Header("Follow")]
|
|
private RemoteFollowCamera.JFNOAJOFBPG currentFollowMode = RemoteFollowCamera.JFNOAJOFBPG.Default;
|
|
|
|
// Token: 0x04004DB0 RID: 19888
|
|
[SerializeField]
|
|
private RemoteFollowCamera.PlacementOffset thirdPersonPlacementOffset;
|
|
|
|
// Token: 0x04004DB1 RID: 19889
|
|
[SerializeField]
|
|
private RemoteFollowCamera.PlacementOffset birdsEyePlacementOffset;
|
|
|
|
// Token: 0x04004DB2 RID: 19890
|
|
private Vector3 IGOFELJMFOF = Vector3.zero;
|
|
|
|
// Token: 0x04004DB3 RID: 19891
|
|
private Vector3 DMLNPLMICBL = Vector3.zero;
|
|
|
|
// Token: 0x04004DB4 RID: 19892
|
|
private Vector3 GOFCPKNMIFL = Vector3.zero;
|
|
|
|
// Token: 0x04004DB5 RID: 19893
|
|
private Quaternion EGMHLEAFJFD = Quaternion.identity;
|
|
|
|
// Token: 0x04004DB6 RID: 19894
|
|
private Vector3 GMLIEDPJLPB = Vector3.zero;
|
|
|
|
// Token: 0x04004DB7 RID: 19895
|
|
private Quaternion JEAIIKNJOIN = Quaternion.identity;
|
|
|
|
// Token: 0x02000E27 RID: 3623
|
|
[Serializable]
|
|
public class PlacementOffset
|
|
{
|
|
// Token: 0x0601DB77 RID: 121719 RVA: 0x0081A47C File Offset: 0x0081867C
|
|
public Quaternion EOCFBJNAIOK()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB78 RID: 121720 RVA: 0x0081A4C0 File Offset: 0x008186C0
|
|
public Quaternion DPODJCOGNIF()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB79 RID: 121721 RVA: 0x0081A504 File Offset: 0x00818704
|
|
public Quaternion AMBHJMACFFA()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB7A RID: 121722 RVA: 0x0081A548 File Offset: 0x00818748
|
|
public Quaternion HADCKDIMGHO()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB7B RID: 121723 RVA: 0x0081A58C File Offset: 0x0081878C
|
|
public Quaternion GEOFKOKEPGL()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB7C RID: 121724 RVA: 0x0081A5D0 File Offset: 0x008187D0
|
|
public Quaternion DOBCBEOPPOJ()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB7D RID: 121725 RVA: 0x0081A614 File Offset: 0x00818814
|
|
public Quaternion NMOENHPBAAH()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB7E RID: 121726 RVA: 0x0081A658 File Offset: 0x00818858
|
|
public Quaternion PEALKPBPKAB()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB7F RID: 121727 RVA: 0x0081A69C File Offset: 0x0081889C
|
|
public Quaternion EPCGECKOGPK()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB80 RID: 121728 RVA: 0x0081A6E0 File Offset: 0x008188E0
|
|
public Quaternion ABNHFMOOFGM()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB81 RID: 121729 RVA: 0x0081A724 File Offset: 0x00818924
|
|
public Quaternion ANOKBEENIOK()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB82 RID: 121730 RVA: 0x0081A768 File Offset: 0x00818968
|
|
public Quaternion ELOMPCELPFC()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB83 RID: 121731 RVA: 0x0081A7AC File Offset: 0x008189AC
|
|
public Quaternion OIGOGPNGNIL()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB84 RID: 121732 RVA: 0x0081A7F0 File Offset: 0x008189F0
|
|
public Quaternion HPLJHIEBEGF()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB85 RID: 121733 RVA: 0x0081A834 File Offset: 0x00818A34
|
|
public Quaternion FBFKFLEKGEO()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB86 RID: 121734 RVA: 0x0081A878 File Offset: 0x00818A78
|
|
public Quaternion NNKBBEMBLIE()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB87 RID: 121735 RVA: 0x0081A8BC File Offset: 0x00818ABC
|
|
public Quaternion FEIEIIAPPAF()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB88 RID: 121736 RVA: 0x0081A900 File Offset: 0x00818B00
|
|
public Quaternion KKGBOPPFNMI()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB89 RID: 121737 RVA: 0x0081A944 File Offset: 0x00818B44
|
|
public Quaternion JAOKGFMIPDI()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB8A RID: 121738 RVA: 0x0081A988 File Offset: 0x00818B88
|
|
public Quaternion NDFGBPBDPDM()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB8B RID: 121739 RVA: 0x0081A9CC File Offset: 0x00818BCC
|
|
public Quaternion DNNCJLHLGDN()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB8C RID: 121740 RVA: 0x0081AA10 File Offset: 0x00818C10
|
|
public Quaternion AAKLODCFHFM()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB8D RID: 121741 RVA: 0x0081AA54 File Offset: 0x00818C54
|
|
public Quaternion LBJEOCEIAMP()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB8E RID: 121742 RVA: 0x0081AA98 File Offset: 0x00818C98
|
|
public Quaternion JEOEONLPPCE()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB8F RID: 121743 RVA: 0x0081AADC File Offset: 0x00818CDC
|
|
public Quaternion OEBHAMHBDFA()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation != null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x17000DC4 RID: 3524
|
|
// (get) Token: 0x0601DB90 RID: 121744 RVA: 0x0081AB20 File Offset: 0x00818D20
|
|
public Quaternion rotation
|
|
{
|
|
get
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB91 RID: 121745 RVA: 0x0081AB64 File Offset: 0x00818D64
|
|
public Quaternion DJPCAKBFKLI()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x0601DB93 RID: 121747 RVA: 0x0081ABB0 File Offset: 0x00818DB0
|
|
public Quaternion OENPGPPMJNH()
|
|
{
|
|
Quaternion? rotation = this._rotation;
|
|
if (rotation == null)
|
|
{
|
|
this._rotation = new Quaternion?(Quaternion.Euler(this.rotationEuler));
|
|
}
|
|
return this._rotation.Value;
|
|
}
|
|
|
|
// Token: 0x04004DB8 RID: 19896
|
|
public Vector3 position;
|
|
|
|
// Token: 0x04004DB9 RID: 19897
|
|
[SerializeField]
|
|
private Vector3 rotationEuler;
|
|
|
|
// Token: 0x04004DBA RID: 19898
|
|
private Quaternion? _rotation;
|
|
}
|
|
|
|
// Token: 0x02000E28 RID: 3624
|
|
public enum JFNOAJOFBPG
|
|
{
|
|
// Token: 0x04004DBC RID: 19900
|
|
None,
|
|
// Token: 0x04004DBD RID: 19901
|
|
Default,
|
|
// Token: 0x04004DBE RID: 19902
|
|
ThirdPerson,
|
|
// Token: 0x04004DBF RID: 19903
|
|
BirdsEye
|
|
}
|
|
}
|