File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 381
381
" " ,
382
382
" setImage(resourceName) {" ,
383
383
" const texture = game.getImageManager().getThreeTexture(resourceName);" ,
384
- " /** @type {THREE.MeshStandardMaterial} */" ,
385
- " const material = this.particleSystem.material;" ,
386
384
" this.particleSystem.texture = texture;" ,
387
- " material.map = texture;" ,
388
385
" }" ,
389
386
" }" ,
390
387
" " ,
7615
7612
" const object = objects[0];\r " ,
7616
7613
" /** @type {SpriteObjectDataType} */\r " ,
7617
7614
" const particleSpriteData = object._instanceContainer._objects.get(\" Particle\" );\r " ,
7618
- " console.log(particleSpriteData);\r " ,
7619
7615
" /** @type {gdjs.SpriteAnimationData} */\r " ,
7620
7616
" const animation = particleSpriteData.animations[0];\r " ,
7621
7617
" const animationFrame = animation ? animation.directions[0].sprites[0] : null;\r " ,
7622
7618
" const resourceName = animationFrame ? animationFrame.image : '';\r " ,
7623
- " console.log(resourceName);\r " ,
7624
7619
" object.__particleEmitterAdapter.setImage(resourceName);"
7625
7620
],
7626
7621
"parameterObjects" : " Object" ,
You can’t perform that action at this time.
0 commit comments