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

Answer by Graham Dunnett

http://docs.unity3d.com/Documentation/ScriptReference/Input.GetTouch.html

View Article


Answer by Graham Dunnett

http://docs.unity3d.com/Documentation/ScriptReference/Application.LogCallback.html

View Article


Answer by Graham Dunnett

Start off with your "top" cube. Found out what objects it touches. Then for each of those objects, find what they touch. Do this over and over until you run out of options, or one of the object touches...

View Article

Answer by Graham Dunnett

http://docs.unity3d.com/Documentation/ScriptReference/Input-inputString.html It's documented that this function returns the string that was entered in the current frame. If your user is busy with the...

View Article

Answer by Graham Dunnett

void Update () { if (transform.position.x >1.0f) { Debug.Log ("test"); } }

View Article


Answer by Graham Dunnett

Joana has contacted you.

View Article

Answer by Graham Dunnett

Have a counter, set it to zero. If the space bar is pressed and the counter is zero start a timer and increment the counter. If the counter was one, and the timer is less than some value, then you've...

View Article

Answer by Graham Dunnett

The script at: http://docs.unity3d.com/Documentation/ScriptReference/Physics.OverlapSphere.html shows how to iterate over the objects that the test has found. Inside the while loop just `Debug.Log` the...

View Article


Answer by Graham Dunnett

`Mathf.Clamp` is documented as taking three values. The second is the min value and the third is the max value. Each time you use this API you have the min and max values reversed. I think we can all...

View Article


Answer by Graham Dunnett

Your post was moderated, not sure why. Not normal on the forum.

View Article

Answer by Graham Dunnett

Maybe gravity is upside down compared to your world? See: http://docs.unity3d.com/Documentation/ScriptReference/Physics-gravity.html

View Article

Answer by Graham Dunnett

`SceneView` is technically internal only, so it's not documented.

View Article

Answer by Graham Dunnett

This message is only generated when you use the `-projectPath` command line argument. Unity will tell you if the file path that is given does not represent a Unity project. A Unity project is the...

View Article


Answer by Graham Dunnett

`jumpSpeed += hiz;`

View Article

Answer by Graham Dunnett

(Sometimes it's easier to just try it, rather than interpret what people mean, or guess their level of experience.) using UnityEngine; using System; public class argl : MonoBehaviour { void...

View Article


Answer by Graham Dunnett

Use sockets.

View Article

Answer by Graham Dunnett

Accuracy is obviously lost. So, any calculations that you do based on time, assuming you're interested in how many milliseconds have passed since the last calculation will give you dubious values.

View Article


Answer by Graham Dunnett

Check out the documentation: http://docs.unity3d.com/Documentation/ScriptReference/GUI.DrawTexture.html It shows correct usage of `DrawTexture()`.

View Article

Answer by Graham Dunnett

Yes, Unity allows you to spawn objects. The `Instantiate` API does this. And yes, you can have on-screen elements that show the number of arrows remaining, and have some system that allows the arrows...

View Article

Answer by Graham Dunnett

See here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/e6883c06(v=vs.105).aspx This is a string compare function on WP8. The last argument is shown to be a `StringComparison` enum,...

View Article
Browsing all 959 articles
Browse latest View live


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