Пример #1
0
    protected virtual void GenerateAnimationList()
    {
        AnimationManager animManager = ResourceManager.GetInstance().GetAnimationManager();
        AnimationSet2D   animSet     = animManager.GetAnimationSet(animationSet);

        foreach (Animation2D anim in animSet.GetAnimationList())
        {
            animationList.Add(anim);
        }
    }
Пример #2
0
    protected override void GenerateAnimationList()
    {
        animationSet = animationSet.Insert(animationSet.Length, "_" + skinIndex.ToString());
        Debug.Log(animationSet);
        AnimationManager animManager = ResourceManager.GetInstance().GetAnimationManager();
        AnimationSet2D   animSet     = animManager.GetAnimationSet(animationSet);

        foreach (Animation2D anim in animSet.GetAnimationList())
        {
            animationList.Add(anim);
        }
    }
Пример #3
0
 public AnimationSet2D(AnimationSet2D prevSet)
 {
     name           = prevSet.name;
     _animationList = prevSet.GetAnimationList();
 }