- Home /
how to use a random number generated in one scene into another
i am making a guess game in this game the player will be given a random number and then in the next scene he will be given another number and in the third scene the sum of the random number and the number given in the second scene will be displayed so someone help me out how to do this
Answer by adasroky · May 30, 2021 at 03:48 PM
@hsrehman01 Hey I would create one script which will be static and it would store numbers in that script and in next scene just simply use those numbers.I hope it will help you.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to create a field of view for enemy ai that detects a player Unity 2d? 3 Answers
Instantiated object not showing in scene or hierarchy 2 Answers
Image display from IP camera 0 Answers