A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Never mind--it turns out I had some files I needed in the wrong directory.
Correction: it seemed as if the Windows build was working. What actually happens is that when I tell it "Build and Run" it opens the game by...
OK, so it turns out I was wrong--which means I must be having a different problem. I made a Windows standalone build and it worked just fine, but...
I'm trying to publish a build, but it doesn't do anything. I've figured out that this is because I need to call Application.LoadLevel, but I can't...
I have kind of a weird bug. I made a game where the player navigates a maze, but I found out that at the corners where two walls (planes) met, the...
Thank you!
How do I write code in a script that tells a GameObject to add another script as a component?
Actually, it's none of the above--I was stupid and told it to retrieve a Resources file that didn't exist. Working now; thanks everyone!
OK, I'm trying that, but for some reason it can't seem to find the object I want. I have all the prefabs in the Resources folder, but...
Suppose I want to set the mesh for an object from a script. Is there some way to code this if I have access to a string that tells me the name of...
No, then it says "'UnityEngine.Transform' does not contain a definition for 'GameObject'".
I've tried that. It instantiates the object, but I get an InvalidCastException.
One of the instance variables is public Transform avatar; which is set to the correct prefab in the inspector. The Start method is OK with...
I have an object created using the Instantiate function and I want to cast it to a GameObject, but Unity won't let me. Why not, since the object...
OK, I'm working on setting up the scene from a script now, and I can't figure out how you instantiate a prefab directly. The best I can do is...
The thing I'm most confused about is how do I tell Unity to run the script? So far I've only been using scripts attached to objects; do I have to...
Is there some way to use scripts to set up a scene automatically? In other words, could I start with an empty world and them run a script that...
I have an object that has a child object which contains a renderer. I want the parent to be able to access the renderer in a C# script. I tried...
I'm using some models from Maya in my game. To get Unity to work with them, I converted them to FBX. So far, so good. However, one of the models...
I made one of the colliders convex and now it works! Thank you!