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.

29 lines
715 B

using System;
using UnityEngine;
namespace FX
{
// Token: 0x02000768 RID: 1896
public class FX_ch_000006_ps : MonoBehaviour
{
// Token: 0x06003059 RID: 12377 RVA: 0x00103C3C File Offset: 0x00103C3C
public void SetSR(SkinnedMeshRenderer skinnedMeshRenderer)
{
for (int i = 0; i < this._particleSystems.Length; i++)
{
if (this._particleSystems[i])
{
ParticleSystem.ShapeModule shape = this._particleSystems[i].shape;
shape.enabled = true;
shape.shapeType = ParticleSystemShapeType.SkinnedMeshRenderer;
shape.skinnedMeshRenderer = skinnedMeshRenderer;
}
}
}
// Token: 0x040056A9 RID: 22185
[SerializeField]
private ParticleSystem[] _particleSystems;
}
}