Quantcast
Channel: Questions in topic: "playerprefs"
Viewing all articles
Browse latest Browse all 1333

Do i need to use PlayerPrefs, or there is another way?,

$
0
0
Hi. For example: i wanna create a TIC TAK TOE game, but not 3x3, the game will have customizing size. So, i have 2 scenes: **MainMenu** (with 2 input fields for setting game size) and **Game**. How can i receive this 2 variables from **Game** scene?

I don't sure that **PlayerPrefs** are good for me, because it saves data on device (as far as i understand, maybe i am wrong, i just new in unity), but i don't need to save this data, i only need to put 2 variables in **CreateLevel(int x, int y)** in Game scene, and next game they will have another values.

Viewing all articles
Browse latest Browse all 1333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>