Method PlayEffect
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
PlayEffect(ParticleSystem, Vector3, Vector3)
public ParticleSystem PlayEffect(ParticleSystem effectPrefab, Vector3 position, Vector3 scale = default)
Parameters
effectPrefab
ParticleSystemposition
Vector3scale
Vector3
Returns
- ParticleSystem
PlayEffect(ParticleSystem, Transform, Vector3)
public ParticleSystem PlayEffect(ParticleSystem effectPrefab, Transform target, Vector3 offset = default)
Parameters
effectPrefab
ParticleSystemtarget
Transformoffset
Vector3
Returns
- ParticleSystem