Answers for "Untiy particle system play"

C#
0

Untiy particle system play

public GameObject hitEffect;

GameObject effect = Instantiate(hitEffect, transform.position, Quaternion.identity);
effect.GetComponent<ParticleSystem>().Play();

//Delay destruction of the effect
Destroy(effect, 5f);
Posted by: Guest on September-30-2021

C# Answers by Framework

Browse Popular Code Answers by Language