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

Answer by Graham Dunnett

Yes, there are many documents where you can look: http://docs.unity3d.com/Documentation/ScriptReference/Camera-orthographicSize.html

View Article


Answer by Graham Dunnett

That usually means that the level data was built using a different version of Unity to the run time. Maybe create a totally new build and see if that has the same problem.

View Article


Answer by Graham Dunnett

There is no public API to access Answers.Unity3d.com. The system itself (AnswerHub) is high customisable. I'll take the request for a mobile version of the site up with dZone.

View Article

Answer by Graham Dunnett

You appear to have pasted your `PlayRandom` function inside your `Update` function. Move this function to the end of the script. Note that after `PlayRandom()` you have a semi-colon, which needs to be...

View Article

Answer by Graham Dunnett

There is no `MD5` on WindowsPhone, see: http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.security.cryptography(v=vs.105).aspx Microsoft document `GetString()` as a virtual function....

View Article


Answer by Graham Dunnett

It's not possible to edit unity3d files. You will need to request the original Unity project and make your changes there, and then re-publish.

View Article

Answer by Graham Dunnett

Do it line by line.

View Article

Answer by Graham Dunnett

Contact the sales team, using the "Find your salesperson" link bottom left of the store page. They'll be able to help you with a wire transfer.

View Article


Answer by Graham Dunnett

You can't delay the `Update()` function, but you can use co-routines: http://docs.unity3d.com/Documentation/ScriptReference/Coroutine.html

View Article


Answer by Graham Dunnett

This 8bpp tif loads into Unity without any problems. ![alt text][1] [1]: http://files.unity3d.com/graham/8bpp.tif

View Article

Answer by Graham Dunnett

Do a Raycast to work out what you clicked on, see the last example at: http://docs.unity3d.com/Documentation/ScriptReference/Physics.Raycast.html When you know what was hit, you then need to work out...

View Article

Answer by Graham Dunnett

A1. Yes, you can do development of an iOS app on a Windows machine. You will not be able to test your app on an iOS device without using your Mac. A2. Yes, you can share a project between a PC and a...

View Article

Answer by Graham Dunnett

The Windows Phone support for XML can be read here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.xml(v=vs.105).aspx Note that on WP8 and WSA Unity uses MS .Net and not Mono, so...

View Article


Answer by Graham Dunnett

You don't use constructors when writing code that derives from MonoBehaviour. Instead you use an `Awake` or `Start` function. Also, in your screenshot the XML is being displayed, so this is not a text...

View Article

Answer by Graham Dunnett

No. You need to create the license request file on the computer you are trying to activate. Just ask whoever is the admin user on the Mac to help you.

View Article


Answer by Graham Dunnett

The first line of code says that the script needs UnityEditor code. Which makes it an Editor script. Which means it needs to be stored in a folder called `Editor`.

View Article

Answer by Graham Dunnett

rigidbody.AddForce(movement); (Note the lowercase r. `RigidBody` is a class, `rigidbody` is a member of type `RigidBody` that belongs to the game object.)

View Article


Answer by Graham Dunnett

Look at the documentation for Input: http://docs.unity3d.com/Documentation/ScriptReference/Input.GetTouch.html The first example shows how you can record the position of the touch. Store that and use...

View Article

Answer by Graham Dunnett

http://docs.unity3d.com/420/Documentation/Manual/flashexamples-browserjavascriptcommunication.html

View Article

Answer by Graham Dunnett

//c# example using UnityEngine; public class lineOverTexture : MonoBehaviour { private static readonly Color lineColor = new Color (1f, 0f, 0f, 0.88f); // Use this for initialization void Start () {...

View Article
Browsing all 959 articles
Browse latest View live


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