Quantcast
Channel: Answers by "Graham-Dunnett"
Browsing all 959 articles
Browse latest View live
↧

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 Article


Answer 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 Article


Answer 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 Article

Answer 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 Article

Answer 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 Article


Answer 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 Article

Answer 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 Article

Answer by Graham Dunnett

Reading the docs should help: http://docs.unity3d.com/Manual/iphone-InternalProfiler.html

View Article


Answer 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 Article


Answer 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 Article

Answer 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 Article

Answer 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 Article

Answer by Graham Dunnett

Reading the docs will help: http://docs.unity3d.com/Manual/ViewModes.html

View Article


Answer 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 Article

Answer 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 Article


Answer 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 Article

Answer by Graham Dunnett

It is documented here: http://docs.unity3d.com/ScriptReference/GUIStyle-fontSize.html

View Article


Answer 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 Article

Answer by Graham Dunnett

Edit Resources/MainMenu.nib in Xcode.

View Article

Answer 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
Browsing all 959 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>