Answer by Graham Dunnett
If you want the data to be exactly the same you'll need to create a texture that uses a floating point format for RGBA. That probably means you need to create a `RenderTexture` in the `ARGBFloat`...
View ArticleAnswer by Graham Dunnett
Have a list of changed colour game objects. When you change the colour of a game object, add it to this list. Once you have done whatever you want with this information, remove the game object from the...
View ArticleAnswer by Graham Dunnett
Request that the server gives you a list of all changed images since the last time the game was launched. So, you'll need to store this launch time, possibly in a playerpref. Once the server has told...
View ArticleAnswer by Graham Dunnett
You're changing the colour of the object, not rendering an outline around it. Rendering outline is not easy. One way to do this is to move the object closer to the camera, and render it with a flat...
View ArticleAnswer by Graham Dunnett
Works for me in a new project. Note that I used: public string inputField; and if (inputLower.Contains (searchLower)){ So I could use the inspector to edit the string, and I wanted to check if that...
View ArticleAnswer by Graham Dunnett
I guess Unity is running out of memory when making a super high res screenshot. So, choose a number smaller than 16 that means Unity doesn't crash. Then if the screenshot is not high enough resolution...
View ArticleAnswer by Graham Dunnett
You've obviously posted your question without doing any experiments. I think it'll take you 30 seconds to work out that the variable is a copy of what was in the rotation, and if the rotation changes...
View ArticleAnswer by Graham Dunnett
Reading the docs should help: http://docs.unity3d.com/Manual/iphone-InternalProfiler.html
View ArticleAnswer by Graham Dunnett
Unity did not crash. Your while loop at line 17 is stuck in an infinite loop. The body of the loop doesn't change either the `XPos` or `i` variables, so the test you make never changes to `false`.
View ArticleAnswer by Graham Dunnett
When coding in Javascript it is strongly recommended that you use typing. Although the Javascript runtime can do duck-typing it's not recommended. So you should define `searchedVariables` to be an...
View ArticleAnswer by Graham Dunnett
Just use WWW to request the page. Then process the html that is returned to mine out the data that you need. If news bar means the Latest News box on the site, then that's the div with the id...
View ArticleAnswer by Graham Dunnett
Huh? The Unity installer includes the version of MonoDevelop that has been customised to work with Unity. If you have downloaded Xamarin Studio, then either remove it and make sure you have MonoDevelop...
View ArticleAnswer by Graham Dunnett
Reading the docs will help: http://docs.unity3d.com/Manual/ViewModes.html
View ArticleAnswer by Graham Dunnett
So, try these: 1. Press Alt when opening Unity. This starts the project wizard. Create a new project. Does Unity crash when you create a script in this new project? 2. Go to Spotlight (the magnifying...
View ArticleAnswer by Graham Dunnett
No it's not possible. There is no feature in Unity that can export 3d models. You may find something suitable on asset-store, however.
View ArticleAnswer by Graham Dunnett
No it is not possible to transfer assets, specifically editor extensions. Appendix 1 Clause 2.2: ...the END-USERS shall not be entitled to distribute or transfer in any way...
View ArticleAnswer by Graham Dunnett
It is documented here: http://docs.unity3d.com/ScriptReference/GUIStyle-fontSize.html
View ArticleAnswer by Graham Dunnett
Don't you just track the position of the finger as it makes a swipe? If the swipe is curved, then curl the ball. I guess typically the first half of the swipe is linear and defines a direction, and...
View ArticleAnswer by Graham Dunnett
The error message says that `SqlConnection()` returns a `SqlConnection` but you are trying to assign to a `IDbConnection`. So, either make a case to a `IDbConnection` or change `dbcon` to be a...
View Article