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.
38 lines
980 B
38 lines
980 B
using System;
|
|
using UnityEngine;
|
|
|
|
namespace FX
|
|
{
|
|
// Token: 0x02000767 RID: 1895
|
|
public class FX_ch_000006 : MonoBehaviour
|
|
{
|
|
// Token: 0x06003057 RID: 12375 RVA: 0x00103B9C File Offset: 0x00103B9C
|
|
private void Start()
|
|
{
|
|
if (this._skinnedMeshRenderer && this._FX_Prefab && this._FX_Parent)
|
|
{
|
|
GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(this._FX_Prefab);
|
|
gameObject.transform.position = this._FX_Parent.transform.position;
|
|
gameObject.transform.parent = this._FX_Parent.transform;
|
|
FX_ch_000006_ps component = gameObject.GetComponent<FX_ch_000006_ps>();
|
|
if (component)
|
|
{
|
|
component.SetSR(this._skinnedMeshRenderer);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x040056A6 RID: 22182
|
|
[SerializeField]
|
|
private SkinnedMeshRenderer _skinnedMeshRenderer;
|
|
|
|
// Token: 0x040056A7 RID: 22183
|
|
[SerializeField]
|
|
private GameObject _FX_Prefab;
|
|
|
|
// Token: 0x040056A8 RID: 22184
|
|
[SerializeField]
|
|
private GameObject _FX_Parent;
|
|
}
|
|
}
|