scripts
This commit is contained in:
@@ -0,0 +1,395 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x020010E5 RID: 4325
|
||||
[DisallowMultipleComponent]
|
||||
public class Tooltip : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06024F6F RID: 151407 RVA: 0x00A39E50 File Offset: 0x00A38050
|
||||
public void FFEKACKMBCI(Transform GLGNPLNGMJK)
|
||||
{
|
||||
this.LBDIMHGBJLL = true;
|
||||
if (this.LFEILFDHLFP == null)
|
||||
{
|
||||
this.LFEILFDHLFP = GLGNPLNGMJK;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F70 RID: 151408 RVA: 0x00A39E74 File Offset: 0x00A38074
|
||||
private void LCICOLJCCPP()
|
||||
{
|
||||
if (this.ACBAPPGIGHH != null)
|
||||
{
|
||||
this.ACBAPPGIGHH.EGCNFHEJAMH();
|
||||
this.ACBAPPGIGHH = null;
|
||||
}
|
||||
this.LFEILFDHLFP = null;
|
||||
}
|
||||
|
||||
// Token: 0x06024F71 RID: 151409 RVA: 0x00A39EA0 File Offset: 0x00A380A0
|
||||
private void GAECFMNFMHE(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO)
|
||||
{
|
||||
if (this.ACBAPPGIGHH == null)
|
||||
{
|
||||
this.ACBAPPGIGHH = TooltipUI.NGOCJMHJPOC(this.Message, CIGPHKLAAOD, IJGPPOIJDKO);
|
||||
this.ACBAPPGIGHH.HADIEAOGALG(this.fontConfig);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F72 RID: 151410 RVA: 0x00A39ED8 File Offset: 0x00A380D8
|
||||
public bool BODPBBIIPOM()
|
||||
{
|
||||
return this.<EFPJOHDOEOH>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x06024F73 RID: 151411 RVA: 0x00A39EE0 File Offset: 0x00A380E0
|
||||
private void OHHIGOFDEOI(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO)
|
||||
{
|
||||
if (this.ACBAPPGIGHH == null)
|
||||
{
|
||||
this.ACBAPPGIGHH = TooltipUI.NGOCJMHJPOC(this.Message, CIGPHKLAAOD, IJGPPOIJDKO);
|
||||
this.ACBAPPGIGHH.ABNKEOANHGI(this.fontConfig);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F74 RID: 151412 RVA: 0x00A39F18 File Offset: 0x00A38118
|
||||
public bool IGEPNIKMPPE()
|
||||
{
|
||||
return this.<EFPJOHDOEOH>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x06024F75 RID: 151413 RVA: 0x00A39F20 File Offset: 0x00A38120
|
||||
public void BKBJHKLKFHD(Transform GLGNPLNGMJK)
|
||||
{
|
||||
this.LBDIMHGBJLL = false;
|
||||
if (this.LFEILFDHLFP == null)
|
||||
{
|
||||
this.LFEILFDHLFP = GLGNPLNGMJK;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F76 RID: 151414 RVA: 0x00A39F44 File Offset: 0x00A38144
|
||||
private void LateUpdate()
|
||||
{
|
||||
this.LBDIMHGBJLL = false;
|
||||
}
|
||||
|
||||
// Token: 0x06024F77 RID: 151415 RVA: 0x00A39F50 File Offset: 0x00A38150
|
||||
private void NEFFCEJLOCD()
|
||||
{
|
||||
if (this.LBDIMHGBJLL != this.KHMBMGMGPJL)
|
||||
{
|
||||
if (this.LBDIMHGBJLL)
|
||||
{
|
||||
this.GKPHPIKDFJC = Time.time;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.BHAHMEPLKDA();
|
||||
}
|
||||
}
|
||||
if (this.LBDIMHGBJLL && this.LFEILFDHLFP != null)
|
||||
{
|
||||
Vector3 position = this.LFEILFDHLFP.position;
|
||||
Vector3 eulerAngles = this.LFEILFDHLFP.rotation.eulerAngles;
|
||||
eulerAngles.z = 1608f;
|
||||
Quaternion quaternion = Quaternion.Euler(eulerAngles);
|
||||
if (this.ACBAPPGIGHH != null)
|
||||
{
|
||||
this.ACBAPPGIGHH.transform.position = position;
|
||||
this.ACBAPPGIGHH.transform.rotation = quaternion;
|
||||
if (!this.LFEILFDHLFP.gameObject.activeSelf)
|
||||
{
|
||||
this.BHAHMEPLKDA();
|
||||
}
|
||||
}
|
||||
else if (Time.time - this.GKPHPIKDFJC >= this.ShowDelay)
|
||||
{
|
||||
this.OHHIGOFDEOI(position, quaternion);
|
||||
}
|
||||
}
|
||||
this.KHMBMGMGPJL = this.LBDIMHGBJLL;
|
||||
}
|
||||
|
||||
// Token: 0x06024F78 RID: 151416 RVA: 0x00A3A05C File Offset: 0x00A3825C
|
||||
private void CKCIGKNKMAF()
|
||||
{
|
||||
this.BHAHMEPLKDA();
|
||||
}
|
||||
|
||||
// Token: 0x06024F79 RID: 151417 RVA: 0x00A3A064 File Offset: 0x00A38264
|
||||
private void GPGELNFJKOB()
|
||||
{
|
||||
this.LBDIMHGBJLL = false;
|
||||
}
|
||||
|
||||
// Token: 0x06024F7A RID: 151418 RVA: 0x00A3A070 File Offset: 0x00A38270
|
||||
private void AAJHLHLJOHK(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO)
|
||||
{
|
||||
if (this.ACBAPPGIGHH == null)
|
||||
{
|
||||
this.ACBAPPGIGHH = TooltipUI.MFEMMFFHLHI(this.Message, CIGPHKLAAOD, IJGPPOIJDKO);
|
||||
this.ACBAPPGIGHH.OFIKLNCDBBP(this.fontConfig);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F7B RID: 151419 RVA: 0x00A3A0A8 File Offset: 0x00A382A8
|
||||
private void OnDisable()
|
||||
{
|
||||
this.OFAHFAPGMCA();
|
||||
}
|
||||
|
||||
// Token: 0x06024F7C RID: 151420 RVA: 0x00A3A0B0 File Offset: 0x00A382B0
|
||||
private void IMJMLJHJIME(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO)
|
||||
{
|
||||
if (this.ACBAPPGIGHH == null)
|
||||
{
|
||||
this.ACBAPPGIGHH = TooltipUI.Acquire(this.Message, CIGPHKLAAOD, IJGPPOIJDKO);
|
||||
this.ACBAPPGIGHH.DGOJAAMFCMA = this.fontConfig;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F7D RID: 151421 RVA: 0x00A3A0E8 File Offset: 0x00A382E8
|
||||
private void BHAHMEPLKDA()
|
||||
{
|
||||
if (this.ACBAPPGIGHH != null)
|
||||
{
|
||||
this.ACBAPPGIGHH.EGCNFHEJAMH();
|
||||
this.ACBAPPGIGHH = null;
|
||||
}
|
||||
this.LFEILFDHLFP = null;
|
||||
}
|
||||
|
||||
// Token: 0x06024F7E RID: 151422 RVA: 0x00A3A114 File Offset: 0x00A38314
|
||||
private void AHHEENEFAPI()
|
||||
{
|
||||
if (this.LBDIMHGBJLL != this.KHMBMGMGPJL)
|
||||
{
|
||||
if (this.LBDIMHGBJLL)
|
||||
{
|
||||
this.GKPHPIKDFJC = Time.time;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.OFAHFAPGMCA();
|
||||
}
|
||||
}
|
||||
if (this.LBDIMHGBJLL && this.LFEILFDHLFP != null)
|
||||
{
|
||||
Vector3 position = this.LFEILFDHLFP.position;
|
||||
Vector3 eulerAngles = this.LFEILFDHLFP.rotation.eulerAngles;
|
||||
eulerAngles.z = 1517f;
|
||||
Quaternion quaternion = Quaternion.Euler(eulerAngles);
|
||||
if (this.ACBAPPGIGHH != null)
|
||||
{
|
||||
this.ACBAPPGIGHH.transform.position = position;
|
||||
this.ACBAPPGIGHH.transform.rotation = quaternion;
|
||||
if (!this.LFEILFDHLFP.gameObject.activeSelf)
|
||||
{
|
||||
this.KGMFHHKAIEC();
|
||||
}
|
||||
}
|
||||
else if (Time.time - this.GKPHPIKDFJC >= this.ShowDelay)
|
||||
{
|
||||
this.AAJHLHLJOHK(position, quaternion);
|
||||
}
|
||||
}
|
||||
this.KHMBMGMGPJL = this.LBDIMHGBJLL;
|
||||
}
|
||||
|
||||
// Token: 0x06024F7F RID: 151423 RVA: 0x00A3A220 File Offset: 0x00A38420
|
||||
public bool JCBIMIPAOEE()
|
||||
{
|
||||
return this.<EFPJOHDOEOH>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x06024F80 RID: 151424 RVA: 0x00A3A228 File Offset: 0x00A38428
|
||||
private void GGKDMGAJBEP()
|
||||
{
|
||||
this.LBDIMHGBJLL = true;
|
||||
}
|
||||
|
||||
// Token: 0x06024F81 RID: 151425 RVA: 0x00A3A234 File Offset: 0x00A38434
|
||||
public void SetHoverPoint(Transform GLGNPLNGMJK)
|
||||
{
|
||||
this.LBDIMHGBJLL = true;
|
||||
if (this.LFEILFDHLFP == null)
|
||||
{
|
||||
this.LFEILFDHLFP = GLGNPLNGMJK;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F82 RID: 151426 RVA: 0x00A3A258 File Offset: 0x00A38458
|
||||
private void KGMFHHKAIEC()
|
||||
{
|
||||
if (this.ACBAPPGIGHH != null)
|
||||
{
|
||||
this.ACBAPPGIGHH.EGCNFHEJAMH();
|
||||
this.ACBAPPGIGHH = null;
|
||||
}
|
||||
this.LFEILFDHLFP = null;
|
||||
}
|
||||
|
||||
// Token: 0x06024F83 RID: 151427 RVA: 0x00A3A284 File Offset: 0x00A38484
|
||||
private void BPCEJGIJPOO()
|
||||
{
|
||||
this.LBDIMHGBJLL = true;
|
||||
}
|
||||
|
||||
// Token: 0x06024F85 RID: 151429 RVA: 0x00A3A2B0 File Offset: 0x00A384B0
|
||||
private void PLKHINPPGPK()
|
||||
{
|
||||
if (this.LBDIMHGBJLL != this.KHMBMGMGPJL)
|
||||
{
|
||||
if (this.LBDIMHGBJLL)
|
||||
{
|
||||
this.GKPHPIKDFJC = Time.time;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.KGMFHHKAIEC();
|
||||
}
|
||||
}
|
||||
if (this.LBDIMHGBJLL && this.LFEILFDHLFP != null)
|
||||
{
|
||||
Vector3 position = this.LFEILFDHLFP.position;
|
||||
Vector3 eulerAngles = this.LFEILFDHLFP.rotation.eulerAngles;
|
||||
eulerAngles.z = 744f;
|
||||
Quaternion quaternion = Quaternion.Euler(eulerAngles);
|
||||
if (this.ACBAPPGIGHH != null)
|
||||
{
|
||||
this.ACBAPPGIGHH.transform.position = position;
|
||||
this.ACBAPPGIGHH.transform.rotation = quaternion;
|
||||
if (!this.LFEILFDHLFP.gameObject.activeSelf)
|
||||
{
|
||||
this.KGMFHHKAIEC();
|
||||
}
|
||||
}
|
||||
else if (Time.time - this.GKPHPIKDFJC >= this.ShowDelay)
|
||||
{
|
||||
this.OHHIGOFDEOI(position, quaternion);
|
||||
}
|
||||
}
|
||||
this.KHMBMGMGPJL = this.LBDIMHGBJLL;
|
||||
}
|
||||
|
||||
// Token: 0x170010F0 RID: 4336
|
||||
// (get) Token: 0x06024F86 RID: 151430 RVA: 0x00A3A3BC File Offset: 0x00A385BC
|
||||
// (set) Token: 0x06024F88 RID: 151432 RVA: 0x00A3A3E8 File Offset: 0x00A385E8
|
||||
public bool ABAGHLMDGFC { get; set; }
|
||||
|
||||
// Token: 0x06024F87 RID: 151431 RVA: 0x00A3A3C4 File Offset: 0x00A385C4
|
||||
public void CPFFONLLAMG(Transform GLGNPLNGMJK)
|
||||
{
|
||||
this.LBDIMHGBJLL = true;
|
||||
if (this.LFEILFDHLFP == null)
|
||||
{
|
||||
this.LFEILFDHLFP = GLGNPLNGMJK;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F89 RID: 151433 RVA: 0x00A3A3F4 File Offset: 0x00A385F4
|
||||
private void OFAHFAPGMCA()
|
||||
{
|
||||
if (this.ACBAPPGIGHH != null)
|
||||
{
|
||||
this.ACBAPPGIGHH.Release();
|
||||
this.ACBAPPGIGHH = null;
|
||||
}
|
||||
this.LFEILFDHLFP = null;
|
||||
}
|
||||
|
||||
// Token: 0x06024F8A RID: 151434 RVA: 0x00A3A420 File Offset: 0x00A38620
|
||||
private void HBKLMPAGEMI()
|
||||
{
|
||||
this.LBDIMHGBJLL = false;
|
||||
}
|
||||
|
||||
// Token: 0x06024F8B RID: 151435 RVA: 0x00A3A42C File Offset: 0x00A3862C
|
||||
private void DCIJHAAEEHF()
|
||||
{
|
||||
this.OFAHFAPGMCA();
|
||||
}
|
||||
|
||||
// Token: 0x06024F8C RID: 151436 RVA: 0x00A3A434 File Offset: 0x00A38634
|
||||
private void Update()
|
||||
{
|
||||
if (this.LBDIMHGBJLL != this.KHMBMGMGPJL)
|
||||
{
|
||||
if (this.LBDIMHGBJLL)
|
||||
{
|
||||
this.GKPHPIKDFJC = Time.time;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.OFAHFAPGMCA();
|
||||
}
|
||||
}
|
||||
if (this.LBDIMHGBJLL && this.LFEILFDHLFP != null)
|
||||
{
|
||||
Vector3 position = this.LFEILFDHLFP.position;
|
||||
Vector3 eulerAngles = this.LFEILFDHLFP.rotation.eulerAngles;
|
||||
eulerAngles.z = 0f;
|
||||
Quaternion quaternion = Quaternion.Euler(eulerAngles);
|
||||
if (this.ACBAPPGIGHH != null)
|
||||
{
|
||||
this.ACBAPPGIGHH.transform.position = position;
|
||||
this.ACBAPPGIGHH.transform.rotation = quaternion;
|
||||
if (!this.LFEILFDHLFP.gameObject.activeSelf)
|
||||
{
|
||||
this.OFAHFAPGMCA();
|
||||
}
|
||||
}
|
||||
else if (Time.time - this.GKPHPIKDFJC >= this.ShowDelay)
|
||||
{
|
||||
this.IMJMLJHJIME(position, quaternion);
|
||||
}
|
||||
}
|
||||
this.KHMBMGMGPJL = this.LBDIMHGBJLL;
|
||||
}
|
||||
|
||||
// Token: 0x06024F8D RID: 151437 RVA: 0x00A3A540 File Offset: 0x00A38740
|
||||
public void JHOJMPJNBBF(Transform GLGNPLNGMJK)
|
||||
{
|
||||
this.LBDIMHGBJLL = true;
|
||||
if (this.LFEILFDHLFP == null)
|
||||
{
|
||||
this.LFEILFDHLFP = GLGNPLNGMJK;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06024F8E RID: 151438 RVA: 0x00A3A564 File Offset: 0x00A38764
|
||||
private void NBIGGANPOAA()
|
||||
{
|
||||
this.OFAHFAPGMCA();
|
||||
}
|
||||
|
||||
// Token: 0x04005DE3 RID: 24035
|
||||
public string Message = "Hello";
|
||||
|
||||
// Token: 0x04005DE4 RID: 24036
|
||||
public float ShowDelay = 0.75f;
|
||||
|
||||
// Token: 0x04005DE5 RID: 24037
|
||||
[Tooltip("Ignore the interactable state of the selectable when deciding whether to pop tooltip (useful when using Slider as progress bar)")]
|
||||
public bool IgnoreSelectable;
|
||||
|
||||
// Token: 0x04005DE7 RID: 24039
|
||||
[SerializeField]
|
||||
private TooltipUI.FontConfig fontConfig;
|
||||
|
||||
// Token: 0x04005DE8 RID: 24040
|
||||
private TooltipUI ACBAPPGIGHH;
|
||||
|
||||
// Token: 0x04005DE9 RID: 24041
|
||||
private float GKPHPIKDFJC;
|
||||
|
||||
// Token: 0x04005DEA RID: 24042
|
||||
private bool KHMBMGMGPJL;
|
||||
|
||||
// Token: 0x04005DEB RID: 24043
|
||||
private bool LBDIMHGBJLL;
|
||||
|
||||
// Token: 0x04005DEC RID: 24044
|
||||
private Transform LFEILFDHLFP;
|
||||
}
|
||||
Reference in New Issue
Block a user