- Home /
Passing variables between my Visual Studio website (just local) and Unity
Hello, I've been trying to research a simple way to pass values to Unity from Visual Studio and not having much luck at all. I am not very familiar with Unity so it may be a more advanced solution than what I'm thinking. I simply have a Visual Studio website with a mini-game on a page that you can win items to be used within the game. Is there a simple way to transfer a variable's value to Unity from Visual Studio? To be more specific, the Unity game has coins that you collect and I would like to pass the total coins into VS and use the coins to play my "slot machine" mini-game. I've seen people mention PHP but I'm not at all familiar with it. Any advice would be greatly appreciated. Thanks very much for your time.
Your answer
![](https://koobas.hobune.stream/wayback/20220612192025im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Why does my player health not change when I want it to 2 Answers
Visual Studio forgets code outside of the asset tree 0 Answers