- Home /
 
 
               Question by 
               asfasdfasdf · Jan 12, 2013 at 12:30 AM · 
                animationcameralooping  
              
 
              cant stop my animation
how do i stop my animation from looping over and over again?
 ccc.animation.wrapMode = WrapMode.Once;
 ccc.animation.Play("Intro");
 
               that works, but it loops the animation agian and again, i also tried
      ccc.animation.Play("Intro");
      if(!ccc.animate.IsPlaying("Intro"))
      {
      ccc.animation.Stop
      }
 and
 ccc.animation.Play("Intro");
 yield WaitForSeconds (animation.clip.length);
 
               ccc is the variable i assigned to the camera,
 var ccc : GameObject;
 ccc = GameObject.Find("Camera")
 
              
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Editing the standard FPS to work different 0 Answers
what is the jump axis for if (Input.GetAxis(" ? ") 2 Answers
Can you set up a camera to preview in at all times, even when moving objects around in 3D space? 0 Answers
How to run an animation mouse click. 2 Answers