Collected Star Display On Level Select Screen
Hi I created Level Select screen with Star display at the bottom of each level.
When I Click on Respective Level for Ex. Level_1 then I jump inside level 1 inside level_1 when I clear game I earn star for Ex. i earn 2 Star
Then My question is How can I save and display those Two Star( or respective level stars) below levels of Level select screen
I hope please someone Guide me I lost path I just want Logic Not code a clear logic
Hi @Kakaku , i know its a bit to late to ask, but did you find your solution. if yes, can you please help me because i am facing this same problem.
Answer by getyour411 · Sep 19, 2015 at 09:12 PM
Add DontDestroyOnLoad to the object your starCollector script is attached to
http://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html