示例#1
0
        public static JsonSkeleton buildFromPrefabRoot(GameObject prefabRoot)
        {
            var result  = new JsonSkeleton();
            var builder = new JsonSkeletonBuilder();

            builder.build(result, prefabRoot);
            return(result);
        }
示例#2
0
        public static JsonSkeleton buildFromSkinMesh(SkinnedMeshRenderer meshRend)
        {
            var result  = new JsonSkeleton();
            var builder = new JsonSkeletonBuilder();

            builder.build(result, new SkinnedMeshRenderer[] { meshRend });
            return(result);
        }