示例#1
0
        public AnimationDescription LoadAnimation(string filePath)
        {
            if (_animations.ContainsKey(filePath))
            {
                return(_animations[filePath]);
            }

            var animation = AnimationDescription.Load(filePath);

            _animations.Add(filePath, animation);

            return(animation);
        }