x


How to stop animation if no key is pressed?

How to stop animation if no key is pressed?

more ▼

asked Dec 07 '09 at 09:33 PM

user-297 (google) gravatar image

user-297 (google)
584 22 27 36

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

This should do what you request:

if(Input.anyKey == false)
{
animation.Stop();
}
more ▼

answered Dec 08 '09 at 04:58 AM

jellybit gravatar image

jellybit
145 2 5 12

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5270
x3926

asked: Dec 07 '09 at 09:33 PM

Seen: 3198 times

Last Updated: Dec 08 '09 at 09:11 AM