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

Answer by Graham Dunnett

Select the custom install type and deselect the web player install.

View Article


Answer by Graham Dunnett

The `Assets` folder only exists in the editor. It's not good idea to write to this location, since it'll fail in your final game build. Also, not all platforms allow you to write files. Unity doesn't...

View Article


Answer by Graham Dunnett

http://docs.unity3d.com/Manual/PlatformDependentCompilation.html

View Article

Answer by Graham Dunnett

http://docs.unity3d.com/Manual/HOWTO-ImportObjectBlender.html (and there is 42 *million* questions about [Blender][1] on Answers already.) [1]: http://answers.unity3d.com/questions/topics/blender.html

View Article

Answer by Graham Dunnett

`Debug.DrawRay()` is documented as only working in the SceneView and GameView if you have gizmos. It is not intended to be a general-purpose line renderer, hence belonging to `Debug` class. Try:...

View Article


Answer by Graham Dunnett

var enemyLifeScript : EnemyHealth = hit.transform.GetComponent("EnemyHealth") as EnemyHealth; test = enemyLifeScript.Health;

View Article

Answer by Graham Dunnett

Yes

View Article

Answer by Graham Dunnett

You mean something like the third example on this page: http://docs.unity3d.com/ScriptReference/Input.GetTouch.html ???

View Article


Answer by Graham Dunnett

d in the range 1.5 to 3.5 1. subtract 1.5 from d d now in the range 0 to 2 2. divide by 2 d now in the range 0 to 1 3. perform d = 1 - d d now in the range 1 to 0 4. multiply by 255 d now in the range...

View Article


Answer by Graham Dunnett

You mean, exactly like the first example on the `Input.GetTouch()` documentation page? http://docs.unity3d.com/ScriptReference/Input.GetTouch.html

View Article

Answer by Graham Dunnett

So dZone have made some changes to the moderation queue to help us. You should all now notice that there is a new button which converts answers into comments. This means if someone posts "bump, no-one...

View Article

Answer by Graham Dunnett

It's not meant to be empty. You need a closing brace, to close the open that opens the class.

View Article

Answer by Graham Dunnett

You've read the [docs][1], right? [1]: http://docs.unity3d.com/ScriptReference/MasterServer-ipAddress.html

View Article


Answer by Graham Dunnett

Read up on Unity scene files. That is how you can have different race tracks in Unity.

View Article

Answer by Graham Dunnett

GameObjects do not have position and rotation. They do have an attached `Transform` which has: http://docs.unity3d.com/ScriptReference/Transform-localPosition.html and:...

View Article


Answer by Graham Dunnett

The [docs][1] that you have read ;-) say that the third argument to `SendMessage()` is a `SendMessageOptions` type. I guess the compiler is having problems working out how your un-typed `hitpos2` can...

View Article

Answer by Graham Dunnett

Detailed instructions: a) Read the [docs][1]. b) Set Detail Distance according to you needs. [1]: http://docs.unity3d.com/Manual/terrain-OtherSettings.html

View Article


Answer by Graham Dunnett

If you know that the code in that DLL is pure c# code, so is an assembly, in other words, then simply copying it (and any dependencies it has) into your Plugins folder should work. If there is any...

View Article

Answer by Graham Dunnett

Write code that works out where on the screen the Touch has started, and enable or disable your movement and orbit code accordingly.

View Article

Answer by Graham Dunnett

See: http://u3d.as/content/otaku-dimension/runtime-model-importer-pro-windows-only-/2Pb

View Article
Browsing all 959 articles
Browse latest View live