You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.5 KiB

using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200076E RID: 1902
public class FX_we_000006 : MonoBehaviour
{
// Token: 0x0600306B RID: 12395 RVA: 0x00104210 File Offset: 0x00104210
private void SwitchCards(string tempCard)
{
if (tempCard != null)
{
if (tempCard == "off")
{
this._mesh_card.enabled = true;
this._mesh_illust.enabled = true;
this._mesh_card_Temp.enabled = false;
this._mesh_illust_Temp.enabled = false;
this._mesh_card_Temp2.enabled = false;
this._mesh_illust_Temp2.enabled = false;
return;
}
if (tempCard == "turn")
{
this.passedBattlestart = 1;
this._mesh_card.enabled = false;
this._mesh_illust.enabled = false;
this._mesh_card_Temp.enabled = true;
this._mesh_illust_Temp.enabled = true;
this._mesh_card_Temp2.enabled = false;
this._mesh_illust_Temp2.enabled = false;
return;
}
if (tempCard == "battlestart")
{
this._mesh_card.enabled = false;
this._mesh_illust.enabled = false;
this._mesh_card_Temp.enabled = false;
this._mesh_illust_Temp.enabled = false;
this._mesh_card_Temp2.enabled = true;
this._mesh_illust_Temp2.enabled = true;
return;
}
if (tempCard == "skipped_wait")
{
if (this.passedBattlestart == 1)
{
this.passedBattlestart = 0;
this._mesh_card.enabled = true;
this._mesh_illust.enabled = true;
this._mesh_card_Temp.enabled = false;
this._mesh_illust_Temp.enabled = false;
this._mesh_card_Temp2.enabled = false;
this._mesh_illust_Temp2.enabled = false;
}
return;
}
}
this._mesh_card.enabled = true;
this._mesh_illust.enabled = true;
this._mesh_card_Temp.enabled = false;
this._mesh_illust_Temp.enabled = false;
this._mesh_card_Temp2.enabled = false;
this._mesh_illust_Temp2.enabled = false;
}
// Token: 0x040056C3 RID: 22211
[SerializeField]
private SkinnedMeshRenderer _mesh_card;
// Token: 0x040056C4 RID: 22212
[SerializeField]
private SkinnedMeshRenderer _mesh_illust;
// Token: 0x040056C5 RID: 22213
[SerializeField]
private MeshRenderer _mesh_card_Temp;
// Token: 0x040056C6 RID: 22214
[SerializeField]
private MeshRenderer _mesh_illust_Temp;
// Token: 0x040056C7 RID: 22215
[SerializeField]
private MeshRenderer _mesh_card_Temp2;
// Token: 0x040056C8 RID: 22216
[SerializeField]
private MeshRenderer _mesh_illust_Temp2;
// Token: 0x040056C9 RID: 22217
private int passedBattlestart;
}
}