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

Answer by Graham Dunnett

http://docs.unity3d.com/Documentation/Manual/InverseKinematics.html

View Article


Answer by Graham Dunnett

There are security restrictions imposed when running in a webplayer, so, for example, you cannot use System.IO to access the hard drive, and you cannot access remote websites without permission. A long...

View Article


Answer by Graham Dunnett

The webplayer has zero access to the file system of the machine where it is running. To procedurally generate a texture you'll need to do it entirely using Unity API calls. So that basically means...

View Article

Answer by Graham Dunnett

The webplayer has no access to the hard drive of the client. So, you can only load XML files from a web server using `WWW`.

View Article

Answer by Graham Dunnett

http://docs.unity3d.com/Documentation/Manual/StreamingAssets.html

View Article


Answer by Graham Dunnett

`GetComponent` usually takes an argument which is the name of the component you are trying to access. In your case that's probably the `TextMesh` component.

View Article

Answer by Graham Dunnett

Unity converts audio to Ogg vorbis format for use on PC and Mac. On iOS and Android, Unity will use mp3, since the hardware has a decoder for mp3 files. If you are accessing decoded MP3 data in your...

View Article

Answer by Graham Dunnett

`OnGUI()` can be called multiple times per frame - once for each event. Check to see what the event is.

View Article


Answer by Graham Dunnett

Lines 5, 6, 13 and 15 are meant to have braces, not parentheses. Parenthesis as end of line 6 is meant to be an opening brace.

View Article


Answer by Graham Dunnett

1. Visit: http://pajhome.org.uk/crypt/md5/index.html 2. Enter `Spelterini_Blüemlisalp.jpg` into the text box. (Note that the space has been replaced by an underscore exactly as the wikimedia commons...

View Article

Answer by Graham Dunnett

Read about GUI Styles: http://docs.unity3d.com/Documentation/Components/class-GUIStyle.html

View Article

Answer by Graham Dunnett

Unity has a feature called [`Resources`][1]. Add your resources into a folder called `Assets/Resources`. When the build is made, these assets will be wrapped up into a special file, which you can...

View Article

Answer by Graham Dunnett

Depends on your build target. Webplayers have zero access to the hard drive of the machine where they run. That is by design. Other platforms will allow you to use `System.IO` functions. However, there...

View Article


Answer by Graham Dunnett

http://docs.unity3d.com/Documentation/ScriptReference/PlayerSettings.html?

View Article

Answer by Graham Dunnett

So, I don't have any magic wand for you. Your script code is compiled into DLLs (assemblies) by the editor. When you build for iOS, these assemblies are converted into Arm machine code. This process is...

View Article


Answer by Graham Dunnett

The function does work. Given an ASCII or Unicode font, `GenerateEditableFont` will make you a copy of it, so you can edit the bitmap texture. I'm not sure why you are using Resources - that is really...

View Article

Answer by Graham Dunnett

Sounds like the kerning in the font is wrong. What happens if you import the font in ascii or unicode?

View Article


Answer by Graham Dunnett

So, please bear in mind, that the compiler will also tell you the exact line number where it encountered the error. If you need help from the community, giving them that number makes it far easier to...

View Article

Answer by Graham Dunnett

Probably need to look at the [`GUIStyle`][1] used for the box. If you recall, `GUIStyles` include padding, margin and borders, so I'd guess that one of those is making your boxes bigger. [1]:...

View Article

Answer by Graham Dunnett

[`RaycastAll()`][1] returns the `hits` array, you don't pass it in as an argument. [1]: http://docs.unity3d.com/Documentation/ScriptReference/Physics.RaycastAll.html

View Article
Browsing all 959 articles
Browse latest View live


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