[]以前用lm文件加载模型。现在用lh文件加载模型无法贴图

以前用的lm文件用的是fbxtools直接转换fbx出来的。可以用。可以贴图。动画也正常播放。但是做挂点找不到节点。现在用的unity和LayaAirUnityPlugin 1.4.0导出的lh文件。lh文件加载后模型出来了。但是贴图贴不上了。动画也无法加载。帮忙看下怎么回事。。。。。旧版的加载lm文件在29-43行、
// 载入并显示鱼模型
var fish = new Laya.MeshSprite3D(Laya.Mesh.load("fish/denglongyu/FBXtoolsdaochu/denglongyu.lm"));
scene.addChild(fish);
var fishmaterial = new Laya.StandardMaterial();
//漫反射贴图
fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/FBXtoolsdaochu/denglongyu.jpg");
fish.meshRender.material = fishmaterial;
fish.transform.localScale = new Laya.Vector3(0.04,0.04,0.04);
fish.transform.position = new Laya.Vector3(0,0.5,0);
// fish.transform.position = new Laya.Vector3(0.4,0.5,-0.35);
fish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0));
var anifish = fish.addComponent(Laya.SkinAnimations);
anifish.templet = Laya.AnimationTemplet.load("fish/denglongyu/FBXtoolsdaochu/denglongyu.lsani");
anifish.player.playByFrame(0,0.5,2147483647,0,30,30);;//游动
 
新版的就是没注释的那些。怎么都加不上。
已邀请:

wudi199553

赞同来自:

你把Unity的资源给我把

要回复问题请先

商务合作
商务合作