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 - tomy45

Pages: [1]
1
Support / Re: Play one animation after another
« on: June 10, 2014, 05:57:55 pm »
Works ! Thanks.
But now I have the problem to reverse the animation clip. How can I do this ?

2
Support / Play one animation after another
« on: June 09, 2014, 12:03:52 pm »
I will play one clip and then after another tap the second clip. Hope you understand.

Example: First Tap on the Ipad opens a door. The second Tap close it. How can i do this in 2D Toolkit.

Thanks for your help.


Here is the code. It play´s one clip.

using UnityEngine;
using System.Collections;

public class Door : MonoBehaviour {
   
   public tk2dSpriteAnimator DoorClip;
   
   void OnMouseDown() {   
      
      DoorClip.Play();         
   }   
   
}

Pages: [1]