Files
NobetaSource/Cpp2IL/Assembly-CSharp/commanastationwww/eternaltemple/HidablePart.cs
2023-09-06 22:09:22 +02:00

106 lines
3.3 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
using UnityEngine;
namespace commanastationwww.eternaltemple
{
// Token: 0x0200058C RID: 1420
[Token(Token = "0x200058C")]
public class HidablePart : MonoBehaviour
{
// Token: 0x06002E87 RID: 11911 RVA: 0x00062FE8 File Offset: 0x000611E8
[Token(Token = "0x6002E87")]
[Address(RVA = "0x11DF510", Offset = "0x11DDD10", VA = "0x1811DF510")]
private void Start()
{
Material material = base.GetComponent<Renderer>().GetMaterial();
this.mat = material;
float @float = this.mat.GetFloat("_Cutoff");
this.currentAlpha = @float;
}
// Token: 0x06002E88 RID: 11912 RVA: 0x00063028 File Offset: 0x00061228
[Token(Token = "0x6002E88")]
[Address(RVA = "0x11DF640", Offset = "0x11DDE40", VA = "0x1811DF640")]
public void hide()
{
base.StopAllCoroutines();
int num;
HidablePart.<hideInterpolation>d__9 <hideInterpolation>d__ = new HidablePart.<hideInterpolation>d__9(num);
num = 0;
<hideInterpolation>d__.<>4__this = this;
Coroutine coroutine = base.StartCoroutine(<hideInterpolation>d__);
}
// Token: 0x06002E89 RID: 11913 RVA: 0x0006305C File Offset: 0x0006125C
[Token(Token = "0x6002E89")]
[Address(RVA = "0x11DF730", Offset = "0x11DDF30", VA = "0x1811DF730")]
public void unhide()
{
base.StopAllCoroutines();
int num;
HidablePart.<unhideInterpolation>d__8 <unhideInterpolation>d__ = new HidablePart.<unhideInterpolation>d__8(num);
num = 0;
<unhideInterpolation>d__.<>4__this = this;
Coroutine coroutine = base.StartCoroutine(<unhideInterpolation>d__);
}
// Token: 0x06002E8A RID: 11914 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002E8A")]
[Address(RVA = "0x11DF6C0", Offset = "0x11DDEC0", VA = "0x1811DF6C0")]
private IEnumerator unhideInterpolation()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002E8B RID: 11915 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002E8B")]
[Address(RVA = "0x11DF5D0", Offset = "0x11DDDD0", VA = "0x1811DF5D0")]
private IEnumerator hideInterpolation()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002E8C RID: 11916 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002E8C")]
[Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0")]
private void Update()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002E8D RID: 11917 RVA: 0x00063090 File Offset: 0x00061290
[Token(Token = "0x6002E8D")]
[Address(RVA = "0x11DF5B0", Offset = "0x11DDDB0", VA = "0x1811DF5B0")]
public HidablePart()
{
}
// Token: 0x04003778 RID: 14200
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4003778")]
private Material mat;
// Token: 0x04003779 RID: 14201
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4003779")]
private float currentAlpha;
// Token: 0x0400377A RID: 14202
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x400377A")]
public float fadeOutSpeed = 3f;
// Token: 0x0400377B RID: 14203
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400377B")]
public float minAlpha;
// Token: 0x0400377C RID: 14204
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x400377C")]
public float maxAlpha = 1f;
}
}