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

Answer by Graham Dunnett

There is code in `AppController.mm` that handles the movie viewer, search for `video view controller`. It's possible that changing some of the logic there for handling the orientation of the...

View Article


Answer by Graham Dunnett

No, there is no file extension and MIME type. Does it actually matter what file extension you use on your server? Also, if you invented your own `text/Golfenstein3D` MIME type, your code can check that...

View Article


Answer by Graham Dunnett

Unity has a physics engine built into it. Rather than try and animate the motion of the ball, if instead you give it a force, acceleration, or velocity, the physics engine will work everything else out...

View Article

Answer by Graham Dunnett

The typical problem here is that you've called `initPlugin`, and then instantly called `SendMessage`. The docs at:...

View Article

Answer by Graham Dunnett

Do your stuff, then execute the build using: http://docs.unity3d.com/Documentation/ScriptReference/BuildPipeline.BuildPlayer.html

View Article


Answer by Graham Dunnett

Yes. Use collision detection to determine when the enemy hits the player, and use `Application.loadLevel` to change scene.

View Article

Answer by Graham Dunnett

http://answers.unity3d.com/questions/435671/facebook-like-using-prime31-250-reward-.html

View Article

Answer by Graham Dunnett

The [documentation][1] for `GetComponent` shows that it is a function and so need parentheses. [1]: http://docs.unity3d.com/Documentation/ScriptReference/Component.GetComponent.html

View Article


Answer by Graham Dunnett

Real-time 3d applications treat surfaces as one-sided only, and use the vertex ordering to determine whether a triangle is forward or backwards facing. You'll need a shader that doesn't do backface...

View Article


Answer by Graham Dunnett

Maybe [this post][1] will help you figure out paths on iOS. [1]: http://answers.unity3d.com/questions/488734/ios-wont-load-streaming-asset.html

View Article

Answer by Graham Dunnett

Change the type of the font to Dynamic, exactly as the warning is telling you to do. Then you can change change the font size.

View Article

Answer by Graham Dunnett

You have to wait for the `WWW` to complete before you try and access the data. The [documentation][1] has an example you can copy. Also, there is a `WWW.GetAudioClip` function you can use to try and...

View Article

Answer by Graham Dunnett

Don't think it matters if the licenses are for the same product and add-ons. If the licenses are different, then I think at least morally you should switch each time. You will, of course, want to use...

View Article


Answer by Graham Dunnett

It's not a compile time check.

View Article

Answer by Graham Dunnett

See: http://docs.unity3d.com/Documentation/Manual/Scripting42.html

View Article


Answer by Graham Dunnett

Um, use the [docs][1]? [1]: http://docs.unity3d.com/Documentation/ScriptReference/WebCamTexture-didUpdateThisFrame.html

View Article

Answer by Graham Dunnett

This was a bug. Customers who have been emailed and invited to participate in the BB10 competition should now be able to sign in and register.

View Article


Answer by Graham Dunnett

http://docs.unity3d.com/Documentation/ScriptReference/SystemInfo-graphicsDeviceVersion.html Just because your game crashes on exit does not mean it's running in OpenGL mode. It might crash for a...

View Article

Answer by Graham Dunnett

The standard way to tackle this kind of thing is to use `Debug.Log` statements throughout your code, and then look at the log messages to see which bits of code are executed. On Android you'll need to...

View Article

Answer by Graham Dunnett

I've never logged into Reddit before, but, looking at the links in your question, yes, that looks to be all you need to log in through script. The `using MiniJSON;` does mean the code in the...

View Article
Browsing all 959 articles
Browse latest View live


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