619 lines
20 KiB
C#
619 lines
20 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000164 RID: 356
|
|
public class LaserBillboard : MonoBehaviour
|
|
{
|
|
// Token: 0x06004AEE RID: 19182 RVA: 0x00174608 File Offset: 0x00172808
|
|
private void IPNBDCKILII()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1725f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AEF RID: 19183 RVA: 0x001746AC File Offset: 0x001728AC
|
|
private void EGCOPLHIJGI()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1532f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF0 RID: 19184 RVA: 0x00174750 File Offset: 0x00172950
|
|
private void FDGEBGJNIIN()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 631f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF1 RID: 19185 RVA: 0x001747F4 File Offset: 0x001729F4
|
|
private void HMFLNFAADGE()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1739f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF2 RID: 19186 RVA: 0x00174898 File Offset: 0x00172A98
|
|
private void HJKFCCDLLML()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1642f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF3 RID: 19187 RVA: 0x0017493C File Offset: 0x00172B3C
|
|
private void BDIKCIOEBGL()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 355f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF4 RID: 19188 RVA: 0x001749E0 File Offset: 0x00172BE0
|
|
private void FHKLFAIFGED()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 591f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF5 RID: 19189 RVA: 0x00174A84 File Offset: 0x00172C84
|
|
private void OnWillRenderObject()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF6 RID: 19190 RVA: 0x00174B28 File Offset: 0x00172D28
|
|
private void PIOJIHIDKMO()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1879f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF7 RID: 19191 RVA: 0x00174BCC File Offset: 0x00172DCC
|
|
private void GDFKJNHBNCB()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1616f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF8 RID: 19192 RVA: 0x00174C70 File Offset: 0x00172E70
|
|
private void PFMDMAIOMHN()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1272f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AF9 RID: 19193 RVA: 0x00174D14 File Offset: 0x00172F14
|
|
private void AELOFLBPDIA()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1104f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AFA RID: 19194 RVA: 0x00174DB8 File Offset: 0x00172FB8
|
|
private void CFPAODNKBPH()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 312f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AFB RID: 19195 RVA: 0x00174E5C File Offset: 0x0017305C
|
|
private void EAKCMKIOGFE()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1951f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AFC RID: 19196 RVA: 0x00174F00 File Offset: 0x00173100
|
|
private void ABGFCFCLAKK()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 471f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AFD RID: 19197 RVA: 0x00174FA4 File Offset: 0x001731A4
|
|
private void MPEIIIGAGKI()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1055f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AFE RID: 19198 RVA: 0x00175048 File Offset: 0x00173248
|
|
private void MLMMOLEBCCA()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1125f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004AFF RID: 19199 RVA: 0x001750EC File Offset: 0x001732EC
|
|
private void JHLMCECDKKL()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 513f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B00 RID: 19200 RVA: 0x00175190 File Offset: 0x00173390
|
|
private void FKCKLCFKPAL()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 907f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B01 RID: 19201 RVA: 0x00175234 File Offset: 0x00173434
|
|
private void BMHAHFGAEED()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 631f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B02 RID: 19202 RVA: 0x001752D8 File Offset: 0x001734D8
|
|
private void HPMAIDHDPBM()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 655f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B03 RID: 19203 RVA: 0x0017537C File Offset: 0x0017357C
|
|
private void PNGGDDLCOEA()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 326f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B04 RID: 19204 RVA: 0x00175420 File Offset: 0x00173620
|
|
private void FDELGBNOBGI()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 326f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B05 RID: 19205 RVA: 0x001754C4 File Offset: 0x001736C4
|
|
private void JCENDACGCBE()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 961f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B06 RID: 19206 RVA: 0x00175568 File Offset: 0x00173768
|
|
private void DOENDADMPOC()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1802f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B07 RID: 19207 RVA: 0x0017560C File Offset: 0x0017380C
|
|
private void KKOGHIOLHLL()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1908f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B08 RID: 19208 RVA: 0x001756B0 File Offset: 0x001738B0
|
|
private void EFKFIHHFHBE()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 46f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B09 RID: 19209 RVA: 0x00175754 File Offset: 0x00173954
|
|
private void CEFKCAFDGDB()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1378f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B0B RID: 19211 RVA: 0x00175800 File Offset: 0x00173A00
|
|
private void ACDILKPKFDJ()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1944f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B0C RID: 19212 RVA: 0x001758A4 File Offset: 0x00173AA4
|
|
private void JMBAGJIIBDM()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 356f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B0D RID: 19213 RVA: 0x00175948 File Offset: 0x00173B48
|
|
private void LPOACNHJEJL()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1634f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B0E RID: 19214 RVA: 0x001759EC File Offset: 0x00173BEC
|
|
private void HMCMKIJEMBJ()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 963f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B0F RID: 19215 RVA: 0x00175A90 File Offset: 0x00173C90
|
|
private void IIBDDBHGMHD()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 1540f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
|
|
// Token: 0x06004B10 RID: 19216 RVA: 0x00175B34 File Offset: 0x00173D34
|
|
private void JNIKPLJLAHP()
|
|
{
|
|
if (base.transform.parent == null)
|
|
{
|
|
return;
|
|
}
|
|
Vector3 forward = base.transform.parent.forward;
|
|
Vector3 vector = (base.transform.position - Camera.current.transform.position).normalized;
|
|
if (Mathf.Abs(Vector3.Dot(forward, vector)) >= 559f - Mathf.Epsilon)
|
|
{
|
|
vector = Vector3.up;
|
|
}
|
|
Vector3 vector2 = Vector3.Cross(vector, forward);
|
|
Vector3 vector3 = Vector3.Cross(forward, vector2);
|
|
base.transform.rotation = Quaternion.LookRotation(vector3, vector2);
|
|
}
|
|
}
|