Answer by Ezio1302
Sorry if this question is somewhat old... You are correct, you need to include a reference to your animator component. All you need to do is add one line: var myAnimator : Animator; Then you attach the...
View ArticleAnswer by Ezio1302
Have you remembered to add it to the list of levels used in the game? You may want to make sure you've set it up correctly. Here's a link to the corresponding entry in the Unity Scripting reference for...
View ArticleAnswer by Ezio1302
Have you considered using animation to move the door? You could just make an animation file, and then call it within a script. Here is a sample script from MC HALO: var DoorOpen : AnimationClip;...
View ArticleAnswer by Ezio1302
You may want to check out the entry in the Scripting documentation on Transform.localPosition: http://docs.unity3d.com/ScriptReference/Transform-localPosition.html And in terms of the completely ignore...
View Article