1
Support / Re: Making the game wait for animation to finish?
« on: March 18, 2014, 11:15:42 pm »
Hello. I want to do that when one finishes playing animated script, destroyed. That code did not work. I get the following error:
Assets/Destroy2DTKAnimScript.cs(9,100): error CS0136: A local variable named `sprite' cannot be declared in this scope because it would give a different meaning to `sprite', which is already used in a `parent or current' scope to denote something else
What's the problem?
Thank you.
Assets/Destroy2DTKAnimScript.cs(9,100): error CS0136: A local variable named `sprite' cannot be declared in this scope because it would give a different meaning to `sprite', which is already used in a `parent or current' scope to denote something else
What's the problem?
Thank you.