- Home /
Question by
AashnaSaraf · Dec 20, 2020 at 05:34 PM ·
particle system
Triggering a particle system when choosing a specific prefab in the hierarchy
I have created two prefabs in the hierarchy - a particle system (confetti) and a sprite (bag of grapes). There are other prefabs as well. I want to trigger the particle system (confetti) only when the player chooses the bag of grapes. How can I do this?
P.S. I'm developing a mobile-based game
Comment
Answer by xpath · Dec 20, 2020 at 06:03 PM
Add button and add sprite to it.Button down can also call the function you want
Your answer
Follow this Question
Related Questions
Particle system increases/decreases in size depending on camera proximity 2 Answers
Particle System UI in Pro vs Free 0 Answers
Particle System(Shuriken) optimization problem 1 Answer
(legacy) Changing color only of new particles 1 Answer
How to make a particle system emit more than 1 particle at once. 1 Answer