示例#1
0
 public static SSSkeletalAnimationMD5 ReadAnimation(SSAssetManager.Context ctx, string filename)
 {
     var parser = new SSMD5AnimParser(ctx, filename);
     var anim = parser.readAnimation ();
     anim.name = filename;
     return anim;
 }
示例#2
0
        public static SSSkeletalAnimationMD5 ReadAnimation(string path)
        {
            var parser = new SSMD5AnimParser(path);
            var anim   = parser.readAnimation();

            anim.name = Path.GetFileName(path);
            return(anim);
        }
示例#3
0
        public static SSSkeletalAnimationMD5 ReadAnimation(SSAssetManager.Context ctx, string filename)
        {
            var parser = new SSMD5AnimParser(ctx, filename);
            var anim   = parser.readAnimation();

            anim.name = filename;
            return(anim);
        }