예제 #1
0
 public void Add(SpriteAnimator i_Animation)
 {
     i_Animation.BoundSprite = this.BoundSprite;
     i_Animation.Enabled     = true;
     m_AnimationsDictionary.Add(i_Animation.Name, i_Animation);
     m_AnimationsList.Add(i_Animation);
 }
예제 #2
0
 public SpriteAnimator this[string i_Name]
 {
     get
     {
         SpriteAnimator retVal = null;
         m_AnimationsDictionary.TryGetValue(i_Name, out retVal);
         return(retVal);
     }
 }
예제 #3
0
        public void Add(SpriteAnimator i_Animation)
        {
            i_Animation.BoundSprite = this.BoundSprite;
            if (this.Name != "AnimationsManager")
            {
                i_Animation.Enabled = true;
            }

            this.m_AnimationsDictionary.Add(i_Animation.Name, i_Animation);
            this.m_AnimationsList.Add(i_Animation);
        }