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.

89 lines
3.1 KiB

using System;
using UnityEngine;
namespace FX
{
// Token: 0x0200076F RID: 1903
public class FX_we_001012 : MonoBehaviour
{
// Token: 0x0600306D RID: 12397 RVA: 0x0010440C File Offset: 0x0010440C
private void Start()
{
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012_1);
gameObject.transform.position = this._sw_1_weapon_b.position;
this.animator_1 = gameObject.GetComponent<Animator>();
gameObject.transform.parent = this._sw_1_weapon_b;
GameObject gameObject2 = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012);
gameObject2.transform.position = this._sw_2_weapon_b.position;
this.animator_2 = gameObject2.GetComponent<Animator>();
gameObject2.transform.parent = this._sw_2_weapon_b;
GameObject gameObject3 = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012);
gameObject3.transform.position = this._sw_3_weapon_b.position;
this.animator_3 = gameObject3.GetComponent<Animator>();
gameObject3.transform.parent = this._sw_3_weapon_b;
GameObject gameObject4 = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012);
gameObject4.transform.position = this._sw_4_weapon_b.position;
this.animator_4 = gameObject4.GetComponent<Animator>();
gameObject4.transform.parent = this._sw_4_weapon_b;
GameObject gameObject5 = UnityEngine.Object.Instantiate<GameObject>(this._fX_we_001012);
gameObject5.transform.position = this._sw_5_weapon_b.position;
this.animator_5 = gameObject5.GetComponent<Animator>();
gameObject5.transform.parent = this._sw_5_weapon_b;
}
// Token: 0x0600306E RID: 12398 RVA: 0x00104558 File Offset: 0x00104558
private void Update()
{
if (this.count >= 120f)
{
this.animator_1.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.animator_2.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.animator_3.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.animator_4.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.animator_5.SetInteger("Form_Number", (int)UnityEngine.Random.Range(0f, 2.99f));
this.count = 0f;
}
this.count += Time.deltaTime * 60f;
}
// Token: 0x040056CA RID: 22218
public GameObject _fX_we_001012;
// Token: 0x040056CB RID: 22219
public GameObject _fX_we_001012_1;
// Token: 0x040056CC RID: 22220
public Transform _sw_1_weapon_b;
// Token: 0x040056CD RID: 22221
public Transform _sw_2_weapon_b;
// Token: 0x040056CE RID: 22222
public Transform _sw_3_weapon_b;
// Token: 0x040056CF RID: 22223
public Transform _sw_4_weapon_b;
// Token: 0x040056D0 RID: 22224
public Transform _sw_5_weapon_b;
// Token: 0x040056D1 RID: 22225
private float count;
// Token: 0x040056D2 RID: 22226
private Animator animator_1;
// Token: 0x040056D3 RID: 22227
private Animator animator_2;
// Token: 0x040056D4 RID: 22228
private Animator animator_3;
// Token: 0x040056D5 RID: 22229
private Animator animator_4;
// Token: 0x040056D6 RID: 22230
private Animator animator_5;
}
}