scripts
This commit is contained in:
@@ -0,0 +1,159 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
// Token: 0x020001B3 RID: 435
|
||||
public class TeleportChargeVisual : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06005694 RID: 22164 RVA: 0x001A52E0 File Offset: 0x001A34E0
|
||||
public void OMGEBEKGKPM(float NOBAPCOKFIL)
|
||||
{
|
||||
NOBAPCOKFIL = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
if (this.sliderToSet != null)
|
||||
{
|
||||
this.sliderToSet.value = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.imageToColor != null)
|
||||
{
|
||||
this.imageToColor.color = this.colorCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.transformToScale != null)
|
||||
{
|
||||
this.transformToScale.localScale = Vector3.one * this.scaleCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06005695 RID: 22165 RVA: 0x001A5374 File Offset: 0x001A3574
|
||||
public void NBCKNKOPIDJ(float NOBAPCOKFIL)
|
||||
{
|
||||
NOBAPCOKFIL = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
if (this.sliderToSet != null)
|
||||
{
|
||||
this.sliderToSet.value = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.imageToColor != null)
|
||||
{
|
||||
this.imageToColor.color = this.colorCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.transformToScale != null)
|
||||
{
|
||||
this.transformToScale.localScale = Vector3.one * this.scaleCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06005697 RID: 22167 RVA: 0x001A5410 File Offset: 0x001A3610
|
||||
public void AKBECLOCGND(float NOBAPCOKFIL)
|
||||
{
|
||||
NOBAPCOKFIL = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
if (this.sliderToSet != null)
|
||||
{
|
||||
this.sliderToSet.value = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.imageToColor != null)
|
||||
{
|
||||
this.imageToColor.color = this.colorCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.transformToScale != null)
|
||||
{
|
||||
this.transformToScale.localScale = Vector3.one * this.scaleCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06005698 RID: 22168 RVA: 0x001A54A4 File Offset: 0x001A36A4
|
||||
public void IFDOPNGCBGH(float NOBAPCOKFIL)
|
||||
{
|
||||
NOBAPCOKFIL = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
if (this.sliderToSet != null)
|
||||
{
|
||||
this.sliderToSet.value = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.imageToColor != null)
|
||||
{
|
||||
this.imageToColor.color = this.colorCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.transformToScale != null)
|
||||
{
|
||||
this.transformToScale.localScale = Vector3.one * this.scaleCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06005699 RID: 22169 RVA: 0x001A5538 File Offset: 0x001A3738
|
||||
public void BBFJPCLHNBJ(float NOBAPCOKFIL)
|
||||
{
|
||||
NOBAPCOKFIL = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
if (this.sliderToSet != null)
|
||||
{
|
||||
this.sliderToSet.value = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.imageToColor != null)
|
||||
{
|
||||
this.imageToColor.color = this.colorCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.transformToScale != null)
|
||||
{
|
||||
this.transformToScale.localScale = Vector3.one * this.scaleCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600569A RID: 22170 RVA: 0x001A55CC File Offset: 0x001A37CC
|
||||
public void GPEDHPNLJCL(float NOBAPCOKFIL)
|
||||
{
|
||||
NOBAPCOKFIL = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
if (this.sliderToSet != null)
|
||||
{
|
||||
this.sliderToSet.value = Mathf.Clamp01(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.imageToColor != null)
|
||||
{
|
||||
this.imageToColor.color = this.colorCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
if (this.transformToScale != null)
|
||||
{
|
||||
this.transformToScale.localScale = Vector3.one * this.scaleCurve.JACEHODMEHA(NOBAPCOKFIL);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700019E RID: 414
|
||||
// (set) Token: 0x0600569B RID: 22171 RVA: 0x001A5660 File Offset: 0x001A3860
|
||||
public float IOGNGOOLCJP
|
||||
{
|
||||
set
|
||||
{
|
||||
value = Mathf.Clamp01(value);
|
||||
if (this.sliderToSet != null)
|
||||
{
|
||||
this.sliderToSet.value = Mathf.Clamp01(value);
|
||||
}
|
||||
if (this.imageToColor != null)
|
||||
{
|
||||
this.imageToColor.color = this.colorCurve.JACEHODMEHA(value);
|
||||
}
|
||||
if (this.transformToScale != null)
|
||||
{
|
||||
this.transformToScale.localScale = Vector3.one * this.scaleCurve.JACEHODMEHA(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000AF4 RID: 2804
|
||||
[SerializeField]
|
||||
[Header("Curves")]
|
||||
private ColorValueCurve colorCurve;
|
||||
|
||||
// Token: 0x04000AF5 RID: 2805
|
||||
[SerializeField]
|
||||
private FloatValueCurve scaleCurve;
|
||||
|
||||
// Token: 0x04000AF6 RID: 2806
|
||||
[SerializeField]
|
||||
[Header("Component References")]
|
||||
private Slider sliderToSet;
|
||||
|
||||
// Token: 0x04000AF7 RID: 2807
|
||||
[SerializeField]
|
||||
private Image imageToColor;
|
||||
|
||||
// Token: 0x04000AF8 RID: 2808
|
||||
[SerializeField]
|
||||
private Transform transformToScale;
|
||||
}
|
||||
Reference in New Issue
Block a user