Answer by Graham Dunnett
using UnityEngine; using System.Collections; public class test : MonoBehaviour { public enum myenum { value1 = 0, value2, NumberOfTypes } // Use this for initialization void Start () {...
View ArticleAnswer by Graham Dunnett
It's not possible if you are making a webplayer game, since that has no access to the hard drive. Use [`GetData`][1] to get the audio data from your clips, and standard .Net file routines, such as...
View ArticleAnswer by Graham Dunnett
http://lmgtfy.com/?q=can+the+free+version+of+unity+make+ios+games%3F
View ArticleAnswer by Graham Dunnett
Your game crashes because of some exception in your code. Use `adb logcat` and post a new question with the details.
View ArticleAnswer by Graham Dunnett
Set the texture's wrap mode to [`Clamp`][1]. [1]: http://docs.unity3d.com/Documentation/ScriptReference/TextureWrapMode.Clamp.html
View ArticleAnswer by Graham Dunnett
'stateArray' is un-typed, so Unity assumes it is an array of Objects. Your line 39 grabs one of the Objects and says it's a String, which the compiler correctly tells you is an implicit downcast. You...
View ArticleAnswer by Graham Dunnett
`Assets/Locomotion System/Editor/LocomotionEditorClass.cs` This is an editor script and is meant to live in a folder called `Editor`.
View ArticleAnswer by Graham Dunnett
Guess you don't know about the system requirements mentioned on the Unity website. So, here they are: **System requirements** 1. Windows: XP SP2 or later; Mac OS X: Intel CPU & "Snow Leopard" 10.6...
View ArticleAnswer by Graham Dunnett
Do not assume asset bundles are backwardly compatible. Specifically Unity 4.2 cannot load asset bundles created in older versions, as called out in the release notes. You should pick a Unity version...
View ArticleAnswer by Graham Dunnett
If the film production studio want to make the final build, then yes, they will need a Unity license. And if they make over $100k, then they will of course need to purchase Pro versions of Unity.
View ArticleAnswer by Graham Dunnett
http://docs.unity3d.com/Documentation/ScriptReference/Handheld.PlayFullScreenMovie.html> The first parameter, path, can be a network-based URL. The function will detect that by looking for a "://"...
View ArticleAnswer by Graham Dunnett
You've chosen a speed of 5m/s for your variable `playerSpeed`. That's around 11 miles per hour, so is quite a speed for a human player to run at. Perhaps you should reduce this speed? Also, you have...
View ArticleAnswer by Graham Dunnett
Yes, you need one Unity license per machine. (Although you can have Unity installed on two machines, only one copy can run at a time.) What everyone else does is make an application using Unity that...
View ArticleAnswer by Graham Dunnett
Unity iOS Pro only works with the Unity Pro editor. You cannot have Unity Free and add the iOS Pro add-on to it.
View ArticleAnswer by Graham Dunnett
See http://docs.unity3d.com/Documentation/Manual/ManualActivationGuide.html.
View ArticleAnswer by Graham Dunnett
It might be technically possible, but Apple OSX license doesn't allow you to install on non-Apple hardware.
View ArticleAnswer by Graham Dunnett
`MissingComponentException:` This means that your game object needs an additional component. `There is no 'GUIText' attached to the "Main Camera" game object, but a script is trying to access it.` Now...
View ArticleAnswer by Graham Dunnett
http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody.AddExplosionForce.html
View ArticleAnswer by Graham Dunnett
Sounds like Unity has failed to locate your textures. The page at http://docs.unity3d.com/Documentation/Components/class-Mesh.html describes how Unity searches for textures and assigns them to your model.
View ArticleAnswer by Graham Dunnett
Yes, you can use the WWW class to call your server. If you use the WWWForm class then you can send arbitrary data to your server. A different approach might be to use an analytics service using a plugin.
View Article