- Home /
Question by
Altered · Jun 09, 2015 at 05:41 AM ·
instantiatetouchtouch screen
Have Tap Effect Change & Persist Through Levels
So I'm making a game that has a powerup, where you can choose the effect it makes when you tap the screen. I.e. you tap the screen and it will glow, or burn, etc. Instantiating the effect is easy, but how do I make it so the player can select the effect, and then have that effect happen on all scenes?
Because right now I'm just instantiating the tap effect with:
Instantiate(TapEffect, worldpos, Quaternion.identity);
Where TapEffect is a public gameobject, and I just put a prefab there in the editor. But how would I let them choose that prefab, and make it stick through scene changes?
Thanks for the help!
Comment
Your answer
Follow this Question
Related Questions
Can't seem to destroy instantiated objects. 1 Answer
Scripting for UI Buttons/Images 0 Answers
The bullet doesn't move correctly 1 Answer