Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Using PlayerPrefs to transfer variables from Javascript to C#

$
0
0
Don't worry, I am not calling it on update. Anyways, I have a Javascript code which sets a string in PlayerPrefs. Then I have a C# script (has to be C# as its a multiplayer section of the game) and I want to call upon the PlayerPrefs for it. Is it possible? And can I just say: PlayerPrefs.GetString("username");

Viewing all articles
Browse latest Browse all 1875

Latest Images

Trending Articles



Latest Images

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