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

Pages: [1]
1
Support / Re: Cant get frame.eventInfo
« on: February 20, 2012, 10:22:10 pm »
Did you set eventInfo on that particular frame in the interface? - Yes
If you did, can you make sure the data has persisted across executions - Don't understand. (My english is not so good)

2
Support / Cant get frame.eventInfo
« on: February 20, 2012, 09:10:04 pm »
public void userDeath() {
      
      Debug.Log("AlienUser Is Dead");
      
      lifeStatus = false;
      this.collider.enabled = false;
      unitAnim.Play("Die");
      unitAnim.animationEventDelegate = this.animationCompleteTank;
      
   }
   
   
   void animationCompleteTank(tk2dAnimatedSprite sprite, tk2dSpriteAnimationClip clip, tk2dSpriteAnimationFrame frame, int frameNum) {
      
         Debug.Log("On Bug Animation Complete");
         string str = sprite.name + "\n" + clip.name + "\n" + "INFO: " + frame.eventInfo;
         Debug.Log("INFO: "+ str);
      
         Destroy(this.gameObject);
}


Cant get frame.eventInfo its null !!! HELP !

Pages: [1]