Files
Dec2017-Script-Dump/Assembly-CSharp/FollowBillboard.cs
T
2026-06-04 11:42:34 +02:00

355 lines
16 KiB
C#

using System;
using UnityEngine;
// Token: 0x02000BAE RID: 2990
public class FollowBillboard : MonoBehaviour
{
// Token: 0x060169D2 RID: 92626 RVA: 0x0064CB80 File Offset: 0x0064AD80
private void MDGPLNDHKCI()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169D3 RID: 92627 RVA: 0x0064CC54 File Offset: 0x0064AE54
private void BJJKGIOCAIL()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169D4 RID: 92628 RVA: 0x0064CD28 File Offset: 0x0064AF28
private void MDCNOIALLAF()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169D5 RID: 92629 RVA: 0x0064CDFC File Offset: 0x0064AFFC
private void OBFADPEEBLG()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169D6 RID: 92630 RVA: 0x0064CED0 File Offset: 0x0064B0D0
private void ODEGJOENAGN()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169D7 RID: 92631 RVA: 0x0064CFA4 File Offset: 0x0064B1A4
private void KKAAFDLJCCB()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169D8 RID: 92632 RVA: 0x0064D078 File Offset: 0x0064B278
private void HNDLFBBPEGL()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169D9 RID: 92633 RVA: 0x0064D14C File Offset: 0x0064B34C
private void JJHGPNEHNOM()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169DA RID: 92634 RVA: 0x0064D220 File Offset: 0x0064B420
private void LHDEGPKAADF()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169DB RID: 92635 RVA: 0x0064D2F4 File Offset: 0x0064B4F4
private void JINABDGLFOB()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169DC RID: 92636 RVA: 0x0064D3C8 File Offset: 0x0064B5C8
private void FKPJMANBHBO()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169DD RID: 92637 RVA: 0x0064D49C File Offset: 0x0064B69C
private void OKJAOPHDIJM()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169DE RID: 92638 RVA: 0x0064D570 File Offset: 0x0064B770
private void NEFFCEJLOCD()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169DF RID: 92639 RVA: 0x0064D644 File Offset: 0x0064B844
private void JKMNBLDOIMB()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E1 RID: 92641 RVA: 0x0064D73C File Offset: 0x0064B93C
private void GPDOCPBDIHJ()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E2 RID: 92642 RVA: 0x0064D810 File Offset: 0x0064BA10
private void NPGBJPLJKDP()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E3 RID: 92643 RVA: 0x0064D8E4 File Offset: 0x0064BAE4
private void Update()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E4 RID: 92644 RVA: 0x0064D9B8 File Offset: 0x0064BBB8
private void CJDFMFPIFDB()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E5 RID: 92645 RVA: 0x0064DA8C File Offset: 0x0064BC8C
private void IICDIBPOINA()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E6 RID: 92646 RVA: 0x0064DB60 File Offset: 0x0064BD60
private void IGDMCDLELON()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E7 RID: 92647 RVA: 0x0064DC34 File Offset: 0x0064BE34
private void LJICNBMGDMN()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E8 RID: 92648 RVA: 0x0064DD08 File Offset: 0x0064BF08
private void PLKHINPPGPK()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169E9 RID: 92649 RVA: 0x0064DDDC File Offset: 0x0064BFDC
private void LJFJILFBKHF()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169EA RID: 92650 RVA: 0x0064DEB0 File Offset: 0x0064C0B0
private void NKKKHBAGEJH()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169EB RID: 92651 RVA: 0x0064DF84 File Offset: 0x0064C184
private void ENGNDJADBDF()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x060169EC RID: 92652 RVA: 0x0064E058 File Offset: 0x0064C258
private void LOGFBGOPLLO()
{
if (this.Target != null && this.Camera != null)
{
Vector3 up = Vector3.up;
Vector3 normalized = Vector3.ProjectOnPlane(this.Camera.transform.forward, Vector3.up).normalized;
Vector3 normalized2 = Vector3.Cross(normalized, up).normalized;
base.transform.position = this.Target.position + normalized2 * this.viewSpaceTargetOffset.x + up * this.viewSpaceTargetOffset.y + normalized * this.viewSpaceTargetOffset.z;
base.transform.rotation = Quaternion.LookRotation(normalized, up);
}
}
// Token: 0x04003F33 RID: 16179
[SerializeField]
private Vector3 viewSpaceTargetOffset = new Vector3(0f, 0.2f, 0f);
// Token: 0x04003F34 RID: 16180
public Transform Target;
// Token: 0x04003F35 RID: 16181
public Camera Camera;
}