Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - estudio3d

Pages: [1]
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.

Pages: [1]