183*****755 Sprite3D.load('resources/jinbi.lh'); 加载出来的对象没有子对象
jinbi.lh 由LayaAirUnityPlugin 1.1.0导出, 内容如下:
{
"type":"Sprite3D",
"props":{"name":""},
"customProps":{"translate":[0,0,0],"rotation":[0,0,0,-1],"scale":[1,1,1]},
"child":[
{
"type":"Sprite3D",
"props":{"isStatic":false,"name":"Effect_yu_jinbi_01"},
"customProps":{"translate":[0,0,0],"rotation":[0,0,0,-1],"scale":[1,1,1]},
"child":[
{
"type":"Sprite3D",
"props":{"isStatic":false,"name":"Effect_yu_jinbi_01"},
"customProps":{"translate":[0,0,0],"rotation":[0,0,0.6427876,-0.7660445],"scale":[1,1,1]},
"child":[
{
"type":"Sprite3D",
"props":{"isStatic":false,"name":"jinbi"},
"customProps":{"translate":[0,2,0],"rotation":[0,0,0,-1],"scale":[1,1,1]},
"child":[
{
"type":"ShuriKenParticle3D",
"props":{"isStatic":false,"name":"binbi_xulie"},
"customProps":{
"translate":[0,0,0],
"rotation":[0,0,0,-1],
"scale":[1,1,1],
"isPerformanceMode":true,
"duration":2,
"looping":true,
"prewarm":false,
"startDelayType":0,
"startDelay":0,
"startDelayMin":0,
"startDelayMax":0,
"startLifetimeType":0,
"startLifetimeConstant":2,
"startLifetimeConstantMin":0,
"startLifetimeConstantMax":2,
"startLifetimeGradient":{"startLifetimes":[]},
"startLifetimeGradientMin":{"startLifetimes":[]},
"startLifetimeGradientMax":{"startLifetimes":[]},
"startSpeedType":0,
"startSpeedConstant":0,
"startSpeedConstantMin":0,
"startSpeedConstantMax":0,
"threeDStartSize":false,
"startSizeType":0,
"startSizeConstant":1,
"startSizeConstantMin":0,
"startSizeConstantMax":1,
"startSizeConstantSeparate":[1,1,1],
"startSizeConstantMinSeparate":[0,0,0],
"startSizeConstantMaxSeparate":[1,1,1],
"threeDStartRotation":false,
"startRotationType":2,
"startRotationConstant":360.1826,
"startRotationConstantMin":0,
"startRotationConstantMax":360.1826,
"startRotationConstantSeparate":[0,0,360.1826],
"startRotationConstantMinSeparate":[0,0,0],
"startRotationConstantMaxSeparate":[0,0,360.1826],
"randomizeRotationDirection":0,
"startColorType":0,
"startColorConstant":[1,1,1,1],
"startColorConstantMin":[0,0,0,0],
"startColorConstantMax":[1,1,1,1],
"gravity":[0,-9.81,0],
"gravityModifier":0,
"simulationSpace":1,
"scaleMode":0,
"playOnAwake":true,
"maxParticles":1000,
"autoRandomSeed":true,
"randomSeed":0,
"emission":{
"enable":true,
"emissionRate":0,
"emissionRateTip":"Time",
"bursts":[{"time":0,"min":1,"max":1}]
},
"shape":{
"enable":false,
"shapeType":2,
"sphereRadius":1,
"sphereEmitFromShell":false,
"sphereRandomDirection":0,
"hemiSphereRadius":1,
"hemiSphereEmitFromShell":false,
"hemiSphereRandomDirection":0,
"coneAngle":25,
"coneRadius":1,
"coneLength":5,
"coneEmitType":0,
"coneRandomDirection":0,
"boxX":1,
"boxY":1,
"boxZ":1,
"boxRandomDirection":0,
"circleRadius":1,
"circleArc":360,
"circleEmitFromEdge":false,
"circleRandomDirection":0
},
"velocityOverLifetime":{
"enable":false,
"space":0,
"velocity":{
"type":0,
"constant":[0,0,0],
"gradientX":{"velocitys":[]},
"gradientY":{"velocitys":[]},
"gradientZ":{"velocitys":[]},
"constantMin":[0,0,0],
"constantMax":[0,0,0],
"gradientXMin":{"velocitys":[]},
"gradientXMax":{"velocitys":[]},
"gradientYMin":{"velocitys":[]},
"gradientYMax":{"velocitys":[]},
"gradientZMin":{"velocitys":[]},
"gradientZMax":{"velocitys":[]}
}
},
"colorOverLifetime":{
"enable":false,
"color":{
"type":1,
"constant":[0,0,0,0],
"gradient":{
"alphas":[{"key":0,"value":1},{"key":1,"value":1}],
"rgbs":[{"key":0,"value":[1,1,1]},{"key":1,"value":[1,1,1]}]
},
"constantMin":[0,0,0,0],
"constantMax":[0,0,0,0],
"gradientMin":{"alphas":[],"rgbs":[]},
"gradientMax":{
"alphas":[{"key":0,"value":1},{"key":1,"value":1}],
"rgbs":[{"key":0,"value":[1,1,1]},{"key":1,"value":[1,1,1]}]
}
}
},
"sizeOverLifetime":{
"enable":false,
"size":{
"type":0,
"separateAxes":false,
"gradient":{"sizes":[{"key":0,"value":1},{"key":1,"value":1}]},
"gradientX":{"sizes":[{"key":0,"value":1},{"key":1,"value":1}]},
"gradientY":{"sizes":[{"key":0,"value":0},{"key":1,"value":1}]},
"gradientZ":{"sizes":[{"key":0,"value":0},{"key":1,"value":1}]},
"constantMin":0,
"constantMax":0,
"constantMinSeparate":[0,0,0],
"constantMaxSeparate":[0,0,0],
"gradientMin":{"sizes":[]},
"gradientMax":{"sizes":[{"key":0,"value":1},{"key":1,"value":1}]},
"gradientXMin":{"sizes":[]},
"gradientXMax":{"sizes":[{"key":0,"value":1},{"key":1,"value":1}]},
"gradientYMin":{"sizes":[]},
"gradientYMax":{"sizes":[{"key":0,"value":0},{"key":1,"value":1}]},
"gradientZMin":{"sizes":[]},
"gradientZMax":{"sizes":[{"key":0,"value":0},{"key":1,"value":1}]}
}
},
"rotationOverLifetime":{
"enable":false,
"angularVelocity":{
"type":0,
"separateAxes":false,
"constant":45.02282,
"gradient":{"angularVelocitys":[]},
"constantMin":0,
"constantMax":45.02282,
"gradientMin":{"angularVelocitys":[]},
"gradientMax":{"angularVelocitys":[]}
}
},
"textureSheetAnimation":{
"enable":true,
"tiles":[3,3],
"type":0,
"randomRow":true,
"frame":{
"type":1,
"constant":0,
"overTime":{"frames":[{"key":0,"value":0},{"key":1,"value":8.9991}]},
"constantMin":0,
"constantMax":8.9991,
"overTimeMin":{"frames":[]},
"overTimeMax":{"frames":[{"key":0,"value":0},{"key":1,"value":8.9991}]}
},
"startFrame":{"type":0,"constant":0,"constantMin":0,"constantMax":0},
"cycles":1,
"enableUVChannels":1,
"enableUVChannelsTip":"-1"
},
"renderMode":0,
"stretchedBillboardCameraSpeedScale":0,
"stretchedBillboardSpeedScale":0,
"stretchedBillboardLengthScale":2,
"sortingFudge":0,
"materialPath":"Assets/ArtResources/Effects/Materials/Effect_yu_jinbi_xulie.lmat"
},
"child":[]
}
]
}
]
}
]
}
]
}