Answer by TSorbera
If it's not already, try putting your `if (Event.current.Equals (Event.KeyboardEvent ("return"))) enter = true;` line **before** your GUI call to create the text field. I had to do something similar...
View ArticleAnswer by TSorbera
If you want to use physics, you should probably be moving the character with physics. Try `Rigidbody.AddForce` or `AddRelativeForce`.
View ArticleAnswer by TSorbera
The whole way you're doing it is very roundabout and hard to read. Also, (especially at low frame rates) using WaitForSeconds(1) will give you inaccurate results, since it basically waits for that much...
View ArticleAnswer by TSorbera
An easy way to transfer such data between C# and JS scripts is to put it in a class in Standard Assets. These are built before the normal scripts, and are then available as .NET libraries to both...
View ArticleAnswer by TSorbera
I'll be giving you general help to help you learn, rather than looking up this tutorial and telling you the exact code. Find the code that makes the car go when you press the accelerator button....
View ArticleAnswer by TSorbera
You should probably be using the [`PlayerPrefs`][1] class instead. [1]: http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.html
View ArticleAnswer by TSorbera
If it's not already, try putting your `if (Event.current.Equals (Event.KeyboardEvent ("return"))) enter = true;` line **before** your GUI call to create the text field. I had to do something similar...
View ArticleAnswer by TSorbera
If you want to use physics, you should probably be moving the character with physics. Try `Rigidbody.AddForce` or `AddRelativeForce`.
View ArticleAnswer by TSorbera
The whole way you're doing it is very roundabout and hard to read. Also, (especially at low frame rates) using WaitForSeconds(1) will give you inaccurate results, since it basically waits for that much...
View ArticleAnswer by TSorbera
An easy way to transfer such data between C# and JS scripts is to put it in a class in Standard Assets. These are built before the normal scripts, and are then available as .NET libraries to both...
View ArticleAnswer by TSorbera
I'll be giving you general help to help you learn, rather than looking up this tutorial and telling you the exact code. Find the code that makes the car go when you press the accelerator button....
View ArticleAnswer by TSorbera
You should probably be using the [`PlayerPrefs`][1] class instead. [1]: http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.html
View Article
More Pages to Explore .....