- Home /
How to get integer input from the user
I want to get integer input from the user.How it is possible using c#.
Comment
http://lmgtfy.com/?q=unity+integer+input
this question has been answered here many times already, try searching first.. here's a recent answer I gave to the same question:
http://answers.unity3d.com/questions/414191/how-to-get-in-game-numerical-input.html
(in c# it is the same, you just need to fix the syntax):
for var declaration:
var nameOfVar : TypeOfVar;
becomes
TypeOfVar nameOfVar;
and for functions, ins$$anonymous$$d of
function NameOfFunction(){
you say
void NameOfFunction(){
the rest is the same...
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
error CS0117: `Time' does not contain a definition for `deltaTime' 1 Answer
Unity C# Sockets? 2 Answers
Fog of War Explored Area Gray out / un-updated areas 0 Answers