1023 lines
32 KiB
C#
1023 lines
32 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020010E6 RID: 4326
|
|
public class TooltipUI : MonoBehaviour
|
|
{
|
|
// Token: 0x06024F8F RID: 151439 RVA: 0x00A3A56C File Offset: 0x00A3876C
|
|
private void DLCHNOFPONJ()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(true);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = 14;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = 131;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024F90 RID: 151440 RVA: 0x00A3A648 File Offset: 0x00A38848
|
|
public string AHBCADPMPEP()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024F91 RID: 151441 RVA: 0x00A3A658 File Offset: 0x00A38858
|
|
public string NIILDNNHEOF()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024F92 RID: 151442 RVA: 0x00A3A668 File Offset: 0x00A38868
|
|
public void LEBNBNAPGFD()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x06024F93 RID: 151443 RVA: 0x00A3A678 File Offset: 0x00A38878
|
|
private void HNPEFOILBOG()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(1706f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(340f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024F94 RID: 151444 RVA: 0x00A3A6AC File Offset: 0x00A388AC
|
|
public void HADIEAOGALG(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x06024F96 RID: 151446 RVA: 0x00A3A72C File Offset: 0x00A3892C
|
|
public void Release()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x06024F97 RID: 151447 RVA: 0x00A3A73C File Offset: 0x00A3893C
|
|
public string CHLDLHIPGAI()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024F98 RID: 151448 RVA: 0x00A3A74C File Offset: 0x00A3894C
|
|
public string FFNDEAKHANI()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024F99 RID: 151449 RVA: 0x00A3A75C File Offset: 0x00A3895C
|
|
private void GHNJJCGKPJN()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(false);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = -194;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = -97;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024F9A RID: 151450 RVA: 0x00A3A838 File Offset: 0x00A38A38
|
|
private IEnumerator JDNLFKFEAEB()
|
|
{
|
|
yield return null;
|
|
Vector3 localScale = base.transform.localScale;
|
|
base.transform.localScale = Vector3.one;
|
|
Quaternion rotation = this.textMesh.transform.rotation;
|
|
this.textMesh.transform.rotation = Quaternion.identity;
|
|
Bounds bounds = this.GHNHKDKHGPO.bounds;
|
|
Vector3 size = bounds.size;
|
|
this.textMesh.transform.rotation = rotation;
|
|
base.transform.localScale = localScale;
|
|
this.background.transform.localScale = new Vector3(size.x + this.backgroundHorizontalPadding.x, size.y + this.backgroundHorizontalPadding.y, size.z);
|
|
Vector3 vector = this.textMesh.transform.InverseTransformPoint(bounds.center);
|
|
vector.z = 0f;
|
|
this.background.transform.localPosition = vector;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024F9B RID: 151451 RVA: 0x00A3A854 File Offset: 0x00A38A54
|
|
public void HOPANPOFGNF()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x06024F9C RID: 151452 RVA: 0x00A3A864 File Offset: 0x00A38A64
|
|
private void NDIKALAHLIJ()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(true);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = -176;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = -6;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024F9D RID: 151453 RVA: 0x00A3A940 File Offset: 0x00A38B40
|
|
public string PKOBCAAGAIN()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024F9E RID: 151454 RVA: 0x00A3A950 File Offset: 0x00A38B50
|
|
public void MEGPLCLENCH(string NOBAPCOKFIL)
|
|
{
|
|
this.textMesh.text = NOBAPCOKFIL;
|
|
base.StartCoroutine(this.JDNLFKFEAEB());
|
|
}
|
|
|
|
// Token: 0x06024FA0 RID: 151456 RVA: 0x00A3A994 File Offset: 0x00A38B94
|
|
private void BJGJHPBABDB()
|
|
{
|
|
TooltipUI.All.Remove(this);
|
|
}
|
|
|
|
// Token: 0x06024FA1 RID: 151457 RVA: 0x00A3A9A4 File Offset: 0x00A38BA4
|
|
public void HNEHBCFKJND(string NOBAPCOKFIL)
|
|
{
|
|
this.textMesh.text = NOBAPCOKFIL;
|
|
base.StartCoroutine(this.JDNLFKFEAEB());
|
|
}
|
|
|
|
// Token: 0x06024FA2 RID: 151458 RVA: 0x00A3A9C0 File Offset: 0x00A38BC0
|
|
private IEnumerator PLCPJNCLMAP()
|
|
{
|
|
yield return null;
|
|
localScale = base.transform.localScale;
|
|
base.transform.localScale = Vector3.one;
|
|
rotation = this.textMesh.transform.rotation;
|
|
this.textMesh.transform.rotation = Quaternion.identity;
|
|
bounds = this.GHNHKDKHGPO.bounds;
|
|
size = bounds.size;
|
|
this.textMesh.transform.rotation = rotation;
|
|
base.transform.localScale = localScale;
|
|
this.background.transform.localScale = new Vector3(size.x + this.backgroundHorizontalPadding.x, size.y + this.backgroundHorizontalPadding.y, size.z);
|
|
vector = this.textMesh.transform.InverseTransformPoint(bounds.center);
|
|
vector.z = 0f;
|
|
this.background.transform.localPosition = vector;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FA3 RID: 151459 RVA: 0x00A3A9DC File Offset: 0x00A38BDC
|
|
public static TooltipUI MFEMMFFHLHI(string NFAFJOMABOK, Vector3 CCDDEAIIDLA, Quaternion LGCCJILPALA)
|
|
{
|
|
foreach (TooltipUI tooltipUI in TooltipUI.All)
|
|
{
|
|
if (tooltipUI != null && !tooltipUI.gameObject.activeSelf)
|
|
{
|
|
float magnitude = (Camera.main.transform.position - CCDDEAIIDLA).magnitude;
|
|
float num = tooltipUI.sizeOverDistanceCurve.Evaluate(magnitude);
|
|
tooltipUI.transform.position = CCDDEAIIDLA;
|
|
tooltipUI.transform.rotation = LGCCJILPALA;
|
|
tooltipUI.transform.localScale = new Vector3(num, num, num);
|
|
tooltipUI.gameObject.SetActive(true);
|
|
tooltipUI.HNEHBCFKJND(NFAFJOMABOK.Replace("interpolation", Environment.NewLine));
|
|
tooltipUI.StartCoroutine(tooltipUI.FENPLHDJDGC());
|
|
return tooltipUI;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06024FA4 RID: 151460 RVA: 0x00A3AAE4 File Offset: 0x00A38CE4
|
|
public static TooltipUI BEFDCBCIODH(string NFAFJOMABOK, Vector3 CCDDEAIIDLA, Quaternion LGCCJILPALA)
|
|
{
|
|
foreach (TooltipUI tooltipUI in TooltipUI.All)
|
|
{
|
|
if (tooltipUI != null && !tooltipUI.gameObject.activeSelf)
|
|
{
|
|
float magnitude = (Camera.main.transform.position - CCDDEAIIDLA).magnitude;
|
|
float num = tooltipUI.sizeOverDistanceCurve.Evaluate(magnitude);
|
|
tooltipUI.transform.position = CCDDEAIIDLA;
|
|
tooltipUI.transform.rotation = LGCCJILPALA;
|
|
tooltipUI.transform.localScale = new Vector3(num, num, num);
|
|
tooltipUI.gameObject.SetActive(true);
|
|
tooltipUI.BCFCFLHNBEC(NFAFJOMABOK.Replace("from", Environment.NewLine));
|
|
tooltipUI.StartCoroutine(tooltipUI.FENPLHDJDGC());
|
|
return tooltipUI;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06024FA5 RID: 151461 RVA: 0x00A3ABEC File Offset: 0x00A38DEC
|
|
private void MKGKCCBCAEG()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(1642f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(267f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FA6 RID: 151462 RVA: 0x00A3AC20 File Offset: 0x00A38E20
|
|
public void LAJKFCLKFOH(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x170010F1 RID: 4337
|
|
// (get) Token: 0x06024FC3 RID: 151491 RVA: 0x00A3B53C File Offset: 0x00A3973C
|
|
// (set) Token: 0x06024FA7 RID: 151463 RVA: 0x00A3AC94 File Offset: 0x00A38E94
|
|
public string IMGPDLHMJEE
|
|
{
|
|
get
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
set
|
|
{
|
|
this.textMesh.text = value;
|
|
base.StartCoroutine(this.JDNLFKFEAEB());
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FA8 RID: 151464 RVA: 0x00A3ACB0 File Offset: 0x00A38EB0
|
|
public static TooltipUI Acquire(string NFAFJOMABOK, Vector3 CCDDEAIIDLA, Quaternion LGCCJILPALA)
|
|
{
|
|
foreach (TooltipUI tooltipUI in TooltipUI.All)
|
|
{
|
|
if (tooltipUI != null && !tooltipUI.gameObject.activeSelf)
|
|
{
|
|
float magnitude = (Camera.main.transform.position - CCDDEAIIDLA).magnitude;
|
|
float num = tooltipUI.sizeOverDistanceCurve.Evaluate(magnitude);
|
|
tooltipUI.transform.position = CCDDEAIIDLA;
|
|
tooltipUI.transform.rotation = LGCCJILPALA;
|
|
tooltipUI.transform.localScale = new Vector3(num, num, num);
|
|
tooltipUI.gameObject.SetActive(true);
|
|
tooltipUI.IMGPDLHMJEE = NFAFJOMABOK.Replace("\\n", Environment.NewLine);
|
|
tooltipUI.StartCoroutine(tooltipUI.ICNKALKHBPP());
|
|
return tooltipUI;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06024FA9 RID: 151465 RVA: 0x00A3ADB8 File Offset: 0x00A38FB8
|
|
private void HDDHMBJFJJG()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(1725f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(199f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FAA RID: 151466 RVA: 0x00A3ADEC File Offset: 0x00A38FEC
|
|
public void PNGJNPEHDID(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x06024FAB RID: 151467 RVA: 0x00A3AE60 File Offset: 0x00A39060
|
|
public string EBAAPAFAALB()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024FAC RID: 151468 RVA: 0x00A3AE70 File Offset: 0x00A39070
|
|
private void OnDisable()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(0f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(0f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FAD RID: 151469 RVA: 0x00A3AEA4 File Offset: 0x00A390A4
|
|
public string FABJBBAOEJI()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024FAE RID: 151470 RVA: 0x00A3AEB4 File Offset: 0x00A390B4
|
|
public void EGCNFHEJAMH()
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
|
|
// Token: 0x06024FAF RID: 151471 RVA: 0x00A3AEC4 File Offset: 0x00A390C4
|
|
private void CPLIEFEBCNF()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(1740f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(1073f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FB0 RID: 151472 RVA: 0x00A3AEF8 File Offset: 0x00A390F8
|
|
public void FAGGOINHOJN(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x06024FB1 RID: 151473 RVA: 0x00A3AF6C File Offset: 0x00A3916C
|
|
public void CANAMGNFDPL(string NOBAPCOKFIL)
|
|
{
|
|
this.textMesh.text = NOBAPCOKFIL;
|
|
base.StartCoroutine(this.AFGNKJJALIB());
|
|
}
|
|
|
|
// Token: 0x06024FB2 RID: 151474 RVA: 0x00A3AF88 File Offset: 0x00A39188
|
|
private void OnDestroy()
|
|
{
|
|
TooltipUI.All.Remove(this);
|
|
}
|
|
|
|
// Token: 0x06024FB3 RID: 151475 RVA: 0x00A3AF98 File Offset: 0x00A39198
|
|
private void MOJOOBNAECA()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(1088f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(23f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FB4 RID: 151476 RVA: 0x00A3AFCC File Offset: 0x00A391CC
|
|
public static TooltipUI LAKELNLDGLL(string NFAFJOMABOK, Vector3 CCDDEAIIDLA, Quaternion LGCCJILPALA)
|
|
{
|
|
foreach (TooltipUI tooltipUI in TooltipUI.All)
|
|
{
|
|
if (tooltipUI != null && !tooltipUI.gameObject.activeSelf)
|
|
{
|
|
float magnitude = (Camera.main.transform.position - CCDDEAIIDLA).magnitude;
|
|
float num = tooltipUI.sizeOverDistanceCurve.Evaluate(magnitude);
|
|
tooltipUI.transform.position = CCDDEAIIDLA;
|
|
tooltipUI.transform.rotation = LGCCJILPALA;
|
|
tooltipUI.transform.localScale = new Vector3(num, num, num);
|
|
tooltipUI.gameObject.SetActive(true);
|
|
tooltipUI.MEGPLCLENCH(NFAFJOMABOK.Replace("{0}v1/cleargroup", Environment.NewLine));
|
|
tooltipUI.StartCoroutine(tooltipUI.ILHKIIPFPNC());
|
|
return tooltipUI;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06024FB5 RID: 151477 RVA: 0x00A3B0D4 File Offset: 0x00A392D4
|
|
private IEnumerator NMLEEELKLII()
|
|
{
|
|
float num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = Mathf.SmoothStep(num, 1f, Time.deltaTime * this.HAEHJCKCNMJ);
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(this.EIENODCNBCF * num);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(this.PLNMEFIPCKC * num);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FB6 RID: 151478 RVA: 0x00A3B0F0 File Offset: 0x00A392F0
|
|
public void PKJDGCCNMDI(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x06024FB7 RID: 151479 RVA: 0x00A3B164 File Offset: 0x00A39364
|
|
public void IMENFALGJGA(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x06024FB8 RID: 151480 RVA: 0x00A3B1D8 File Offset: 0x00A393D8
|
|
private IEnumerator AFGNKJJALIB()
|
|
{
|
|
yield return null;
|
|
localScale = base.transform.localScale;
|
|
base.transform.localScale = Vector3.one;
|
|
rotation = this.textMesh.transform.rotation;
|
|
this.textMesh.transform.rotation = Quaternion.identity;
|
|
bounds = this.GHNHKDKHGPO.bounds;
|
|
size = bounds.size;
|
|
this.textMesh.transform.rotation = rotation;
|
|
base.transform.localScale = localScale;
|
|
this.background.transform.localScale = new Vector3(size.x + this.backgroundHorizontalPadding.x, size.y + this.backgroundHorizontalPadding.y, size.z);
|
|
vector = this.textMesh.transform.InverseTransformPoint(bounds.center);
|
|
vector.z = 0f;
|
|
this.background.transform.localPosition = vector;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FB9 RID: 151481 RVA: 0x00A3B1F4 File Offset: 0x00A393F4
|
|
public void ABNKEOANHGI(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x06024FBA RID: 151482 RVA: 0x00A3B268 File Offset: 0x00A39468
|
|
private void KADECABPECJ()
|
|
{
|
|
TooltipUI.All.Remove(this);
|
|
}
|
|
|
|
// Token: 0x06024FBB RID: 151483 RVA: 0x00A3B278 File Offset: 0x00A39478
|
|
public void BKCLLNDMPDN(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x06024FBC RID: 151484 RVA: 0x00A3B2EC File Offset: 0x00A394EC
|
|
private void AFLAKNHDCIC()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(1618f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(40f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FBD RID: 151485 RVA: 0x00A3B320 File Offset: 0x00A39520
|
|
public void DHINHLFFPGJ(string NOBAPCOKFIL)
|
|
{
|
|
this.textMesh.text = NOBAPCOKFIL;
|
|
base.StartCoroutine(this.JDNLFKFEAEB());
|
|
}
|
|
|
|
// Token: 0x06024FBE RID: 151486 RVA: 0x00A3B33C File Offset: 0x00A3953C
|
|
private void HKBNFKNLICF()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(false);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = 63;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = 13;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FBF RID: 151487 RVA: 0x00A3B418 File Offset: 0x00A39618
|
|
public void DCHHNGGIDBC(string NOBAPCOKFIL)
|
|
{
|
|
this.textMesh.text = NOBAPCOKFIL;
|
|
base.StartCoroutine(this.JDNLFKFEAEB());
|
|
}
|
|
|
|
// Token: 0x06024FC0 RID: 151488 RVA: 0x00A3B434 File Offset: 0x00A39634
|
|
public string JJCEHEIGHAH()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024FC1 RID: 151489 RVA: 0x00A3B444 File Offset: 0x00A39644
|
|
private void NGHJFABFAOA()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(true);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = 42;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = -21;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FC2 RID: 151490 RVA: 0x00A3B520 File Offset: 0x00A39720
|
|
public void BCFCFLHNBEC(string NOBAPCOKFIL)
|
|
{
|
|
this.textMesh.text = NOBAPCOKFIL;
|
|
base.StartCoroutine(this.NANJIPPLKAK());
|
|
}
|
|
|
|
// Token: 0x06024FC4 RID: 151492 RVA: 0x00A3B54C File Offset: 0x00A3974C
|
|
private IEnumerator LEANBGPOHHO()
|
|
{
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = Mathf.SmoothStep(num, 1f, Time.deltaTime * this.HAEHJCKCNMJ);
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(this.EIENODCNBCF * num);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(this.PLNMEFIPCKC * num);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FC5 RID: 151493 RVA: 0x00A3B568 File Offset: 0x00A39768
|
|
public string PHFOPEEFFNM()
|
|
{
|
|
return this.textMesh.text;
|
|
}
|
|
|
|
// Token: 0x06024FC6 RID: 151494 RVA: 0x00A3B578 File Offset: 0x00A39778
|
|
private IEnumerator GNOPGGCNIIE()
|
|
{
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = Mathf.SmoothStep(num, 1f, Time.deltaTime * this.HAEHJCKCNMJ);
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(this.EIENODCNBCF * num);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(this.PLNMEFIPCKC * num);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FC7 RID: 151495 RVA: 0x00A3B594 File Offset: 0x00A39794
|
|
private void JHPKEHLJDPN()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(81f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(1912f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FC8 RID: 151496 RVA: 0x00A3B5C8 File Offset: 0x00A397C8
|
|
private void BOPLFCBMKEL()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(true);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = -79;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = 195;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FC9 RID: 151497 RVA: 0x00A3B6A4 File Offset: 0x00A398A4
|
|
public void OFIKLNCDBBP(TooltipUI.FontConfig NOBAPCOKFIL)
|
|
{
|
|
TooltipUI.FontConfig fontConfig = NOBAPCOKFIL;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
|
|
// Token: 0x06024FCA RID: 151498 RVA: 0x00A3B718 File Offset: 0x00A39918
|
|
private IEnumerator NANJIPPLKAK()
|
|
{
|
|
yield return null;
|
|
localScale = base.transform.localScale;
|
|
base.transform.localScale = Vector3.one;
|
|
rotation = this.textMesh.transform.rotation;
|
|
this.textMesh.transform.rotation = Quaternion.identity;
|
|
bounds = this.GHNHKDKHGPO.bounds;
|
|
size = bounds.size;
|
|
this.textMesh.transform.rotation = rotation;
|
|
base.transform.localScale = localScale;
|
|
this.background.transform.localScale = new Vector3(size.x + this.backgroundHorizontalPadding.x, size.y + this.backgroundHorizontalPadding.y, size.z);
|
|
vector = this.textMesh.transform.InverseTransformPoint(bounds.center);
|
|
vector.z = 0f;
|
|
this.background.transform.localPosition = vector;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FCB RID: 151499 RVA: 0x00A3B734 File Offset: 0x00A39934
|
|
public static TooltipUI EJIHNEBCNAM(string NFAFJOMABOK, Vector3 CCDDEAIIDLA, Quaternion LGCCJILPALA)
|
|
{
|
|
foreach (TooltipUI tooltipUI in TooltipUI.All)
|
|
{
|
|
if (tooltipUI != null && !tooltipUI.gameObject.activeSelf)
|
|
{
|
|
float magnitude = (Camera.main.transform.position - CCDDEAIIDLA).magnitude;
|
|
float num = tooltipUI.sizeOverDistanceCurve.Evaluate(magnitude);
|
|
tooltipUI.transform.position = CCDDEAIIDLA;
|
|
tooltipUI.transform.rotation = LGCCJILPALA;
|
|
tooltipUI.transform.localScale = new Vector3(num, num, num);
|
|
tooltipUI.gameObject.SetActive(true);
|
|
tooltipUI.DHINHLFFPGJ(NFAFJOMABOK.Replace("Quest Room ", Environment.NewLine));
|
|
tooltipUI.StartCoroutine(tooltipUI.ICNKALKHBPP());
|
|
return tooltipUI;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06024FCC RID: 151500 RVA: 0x00A3B83C File Offset: 0x00A39A3C
|
|
private void LHAMEPDGJLO()
|
|
{
|
|
if (this.GHNHKDKHGPO != null)
|
|
{
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(728f);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(493f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FCD RID: 151501 RVA: 0x00A3B870 File Offset: 0x00A39A70
|
|
public static TooltipUI NGOCJMHJPOC(string NFAFJOMABOK, Vector3 CCDDEAIIDLA, Quaternion LGCCJILPALA)
|
|
{
|
|
foreach (TooltipUI tooltipUI in TooltipUI.All)
|
|
{
|
|
if (tooltipUI != null && !tooltipUI.gameObject.activeSelf)
|
|
{
|
|
float magnitude = (Camera.main.transform.position - CCDDEAIIDLA).magnitude;
|
|
float num = tooltipUI.sizeOverDistanceCurve.Evaluate(magnitude);
|
|
tooltipUI.transform.position = CCDDEAIIDLA;
|
|
tooltipUI.transform.rotation = LGCCJILPALA;
|
|
tooltipUI.transform.localScale = new Vector3(num, num, num);
|
|
tooltipUI.gameObject.SetActive(true);
|
|
tooltipUI.DCHHNGGIDBC(NFAFJOMABOK.Replace("RpcMasterRequestEnemyOnPlayerDamage", Environment.NewLine));
|
|
tooltipUI.StartCoroutine(tooltipUI.FDEPPJGEMKA());
|
|
return tooltipUI;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06024FCE RID: 151502 RVA: 0x00A3B978 File Offset: 0x00A39B78
|
|
private IEnumerator FENPLHDJDGC()
|
|
{
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = Mathf.SmoothStep(num, 1f, Time.deltaTime * this.HAEHJCKCNMJ);
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(this.EIENODCNBCF * num);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(this.PLNMEFIPCKC * num);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FCF RID: 151503 RVA: 0x00A3B994 File Offset: 0x00A39B94
|
|
private void IGPFODPCJEP()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(false);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = 110;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = -23;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FD0 RID: 151504 RVA: 0x00A3BA70 File Offset: 0x00A39C70
|
|
private void ACOIMDMPDOM()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(false);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = 13;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = 176;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FD1 RID: 151505 RVA: 0x00A3BB4C File Offset: 0x00A39D4C
|
|
private void BEJPIHEKCML()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(true);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = 128;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = 122;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FD2 RID: 151506 RVA: 0x00A3BC28 File Offset: 0x00A39E28
|
|
private void MLKKJEACEMF()
|
|
{
|
|
TooltipUI.All.Remove(this);
|
|
}
|
|
|
|
// Token: 0x06024FD3 RID: 151507 RVA: 0x00A3BC38 File Offset: 0x00A39E38
|
|
public void MNPOLJHHHCC(string NOBAPCOKFIL)
|
|
{
|
|
this.textMesh.text = NOBAPCOKFIL;
|
|
base.StartCoroutine(this.NANJIPPLKAK());
|
|
}
|
|
|
|
// Token: 0x06024FD4 RID: 151508 RVA: 0x00A3BC54 File Offset: 0x00A39E54
|
|
private void CMBFEGAFGIL()
|
|
{
|
|
TooltipUI.All.Remove(this);
|
|
}
|
|
|
|
// Token: 0x170010F2 RID: 4338
|
|
// (set) Token: 0x06024FD5 RID: 151509 RVA: 0x00A3BC64 File Offset: 0x00A39E64
|
|
public TooltipUI.FontConfig DGOJAAMFCMA
|
|
{
|
|
set
|
|
{
|
|
TooltipUI.FontConfig fontConfig = value;
|
|
if (fontConfig == null || fontConfig.Font == null)
|
|
{
|
|
fontConfig = this.MOHFCEECBLM;
|
|
}
|
|
this.textMesh.font = fontConfig.Font;
|
|
this.textMesh.fontSize = fontConfig.FontSize;
|
|
this.GHNHKDKHGPO.material.mainTexture = this.textMesh.font.material.mainTexture;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06024FD6 RID: 151510 RVA: 0x00A3BCD8 File Offset: 0x00A39ED8
|
|
private void AAEMAOKGCAF()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(true);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = -19;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = 154;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FD7 RID: 151511 RVA: 0x00A3BDB4 File Offset: 0x00A39FB4
|
|
public void BPCLBLHJJPD()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x06024FD8 RID: 151512 RVA: 0x00A3BDC4 File Offset: 0x00A39FC4
|
|
private IEnumerator ILHKIIPFPNC()
|
|
{
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = Mathf.SmoothStep(num, 1f, Time.deltaTime * this.HAEHJCKCNMJ);
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(this.EIENODCNBCF * num);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(this.PLNMEFIPCKC * num);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FD9 RID: 151513 RVA: 0x00A3BDE0 File Offset: 0x00A39FE0
|
|
private void LNKPKHFACHE()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(true);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = -57;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = -123;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FDA RID: 151514 RVA: 0x00A3BEBC File Offset: 0x00A3A0BC
|
|
private IEnumerator FDEPPJGEMKA()
|
|
{
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = Mathf.SmoothStep(num, 1f, Time.deltaTime * this.HAEHJCKCNMJ);
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(this.EIENODCNBCF * num);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(this.PLNMEFIPCKC * num);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06024FDB RID: 151515 RVA: 0x00A3BED8 File Offset: 0x00A3A0D8
|
|
public static TooltipUI DKLHJPPBELF(string NFAFJOMABOK, Vector3 CCDDEAIIDLA, Quaternion LGCCJILPALA)
|
|
{
|
|
foreach (TooltipUI tooltipUI in TooltipUI.All)
|
|
{
|
|
if (tooltipUI != null && !tooltipUI.gameObject.activeSelf)
|
|
{
|
|
float magnitude = (Camera.main.transform.position - CCDDEAIIDLA).magnitude;
|
|
float num = tooltipUI.sizeOverDistanceCurve.Evaluate(magnitude);
|
|
tooltipUI.transform.position = CCDDEAIIDLA;
|
|
tooltipUI.transform.rotation = LGCCJILPALA;
|
|
tooltipUI.transform.localScale = new Vector3(num, num, num);
|
|
tooltipUI.gameObject.SetActive(true);
|
|
tooltipUI.MEGPLCLENCH(NFAFJOMABOK.Replace("Unpublishing...", Environment.NewLine));
|
|
tooltipUI.StartCoroutine(tooltipUI.LEANBGPOHHO());
|
|
return tooltipUI;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06024FDC RID: 151516 RVA: 0x00A3BFE0 File Offset: 0x00A3A1E0
|
|
public void FBBLEHGOHPP(string NOBAPCOKFIL)
|
|
{
|
|
this.textMesh.text = NOBAPCOKFIL;
|
|
base.StartCoroutine(this.JDNLFKFEAEB());
|
|
}
|
|
|
|
// Token: 0x06024FDD RID: 151517 RVA: 0x00A3BFFC File Offset: 0x00A3A1FC
|
|
private void Awake()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(false);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = 10000;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = 9999;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FDE RID: 151518 RVA: 0x00A3C0D8 File Offset: 0x00A3A2D8
|
|
private void KJBPHNKFCAM()
|
|
{
|
|
TooltipUI.All.Add(this);
|
|
base.gameObject.SetActive(true);
|
|
this.GHNHKDKHGPO = this.textMesh.GetComponent<Renderer>();
|
|
this.GHNHKDKHGPO.material.renderQueue = -24;
|
|
this.MOHFCEECBLM = new TooltipUI.FontConfig
|
|
{
|
|
Font = this.textMesh.font,
|
|
FontSize = this.textMesh.fontSize
|
|
};
|
|
this.DJPJCGDKPBN = this.background.GetComponent<Renderer>();
|
|
this.DJPJCGDKPBN.material.renderQueue = -14;
|
|
this.EIENODCNBCF = this.GHNHKDKHGPO.material.color.a;
|
|
this.PLNMEFIPCKC = this.DJPJCGDKPBN.material.color.a;
|
|
}
|
|
|
|
// Token: 0x06024FDF RID: 151519 RVA: 0x00A3C1B4 File Offset: 0x00A3A3B4
|
|
private IEnumerator ICNKALKHBPP()
|
|
{
|
|
num = 0f;
|
|
while (num < 1f)
|
|
{
|
|
num = Mathf.SmoothStep(num, 1f, Time.deltaTime * this.HAEHJCKCNMJ);
|
|
this.GHNHKDKHGPO.BMPDLKPAPGK(this.EIENODCNBCF * num);
|
|
this.DJPJCGDKPBN.BMPDLKPAPGK(this.PLNMEFIPCKC * num);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x04005DED RID: 24045
|
|
public static List<TooltipUI> All = new List<TooltipUI>();
|
|
|
|
// Token: 0x04005DEE RID: 24046
|
|
[SerializeField]
|
|
private TextMesh textMesh;
|
|
|
|
// Token: 0x04005DEF RID: 24047
|
|
[SerializeField]
|
|
private Transform background;
|
|
|
|
// Token: 0x04005DF0 RID: 24048
|
|
[SerializeField]
|
|
private Vector2 backgroundHorizontalPadding = new Vector2(0.05f, 0.05f);
|
|
|
|
// Token: 0x04005DF1 RID: 24049
|
|
[SerializeField]
|
|
private AnimationCurve sizeOverDistanceCurve;
|
|
|
|
// Token: 0x04005DF2 RID: 24050
|
|
private Renderer GHNHKDKHGPO;
|
|
|
|
// Token: 0x04005DF3 RID: 24051
|
|
private Renderer DJPJCGDKPBN;
|
|
|
|
// Token: 0x04005DF4 RID: 24052
|
|
private float EIENODCNBCF;
|
|
|
|
// Token: 0x04005DF5 RID: 24053
|
|
private float PLNMEFIPCKC;
|
|
|
|
// Token: 0x04005DF6 RID: 24054
|
|
private TooltipUI.FontConfig MOHFCEECBLM;
|
|
|
|
// Token: 0x04005DF7 RID: 24055
|
|
private float HAEHJCKCNMJ = 10f;
|
|
|
|
// Token: 0x020010E7 RID: 4327
|
|
[Serializable]
|
|
public class FontConfig
|
|
{
|
|
// Token: 0x04005DF8 RID: 24056
|
|
public Font Font;
|
|
|
|
// Token: 0x04005DF9 RID: 24057
|
|
[Range(1f, 124f)]
|
|
public int FontSize = 20;
|
|
}
|
|
}
|