Question by
AndrewBilotti · Jan 16, 2016 at 10:03 PM ·
c#playerprefsconsolecommandsetfloat
Unity run command in console
Is there a way to run a simple command in the console, like PlayerPrefs.setFloat("money", 200);
? If not, is there something free available in the Unity editor store that lets me run c# or javascript commands? (I'm fluent in both c# and js). Thank you!
Comment
Just for curiosity, what's your use case for doing that?
so you want to write player prefs from outside Unity to change values for the game? with console you mean like command prompt?