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.
You could try to check if(waypoints.length == 0)
I can't see what "Theplayer" is, is it the name of another script? Also, where do you get the variable "Dungeon_generation" from? I don't see it...
i'm guessing your problem is that you don't have a reference to the gameObject in the other gameObject's script, right?
i don't understand why you are not simply using a public variable that has the same name on all objects
is this what you are looking for? http://unity3d.com/support/documentation/ScriptReference/Transform.Find.html
the operator || (or) just checks if either of the two numbers does not equal 0, so in this case (1<<10) || (1<<11) would return the boolean value...
try (1<<10) | (1<<11)
i think the unity tutorials on this site are a pretty good start for beginners. it is important to know that the "javascript" unity uses isn't the...
the idea is fun, but how long does it take to make a new ship from scratch?
there is another solution using tooltips in the unity docs: http://unity3d.com/support/documentation/ScriptReference/GUI-tooltip.html
please post the SetEnvironmentData() function declaration also
I haven't found the 'mark this forum read' button yet. I often want to mark just the scripting section read and not all forums.
What do you mean by local rotation? Do you use a parent game object for the bullet? The Instantiate() function has an angle parameter, what's...
why are you so aggressive about this? it's not even like you paid any money to play this game. i think it was also pretty obvious that it's not a...
please post your movement-related code. many people don't have time to look up where you got the tutorial from or are simply too lazy.
Vector3.forward is a world space vector, so it's always (0, 0, 1). try using transform.forward instead
the problem might be because you are instantiating a particle effect, which doesn't have a velocity attribute. as mentioned above, try to use...
the FPSWalker works fine. maybe you could give us some more detail about how you set everything up and if you changed anything in the original...
no. OnGUI() automatically gets called every frame, the position in the script doesn't make any difference at all. you should probably put the...
if(GUI.Button(...)) // button 1 { yourVariable = someValue; } if(GUI.Button(...)) // button 2 { yourVariable = someOtherValue; } //...