add particle

This commit is contained in:
Vick Scarlet
2021-12-02 21:28:10 +08:00
parent f17003925e
commit 0567e40ddc
17 changed files with 80 additions and 24 deletions

View File

@@ -2,7 +2,7 @@
"x":0,
"type":"View",
"selectedBox":1,
"selecteID":102,
"selecteID":153,
"props":{"width":1125,"sceneColor":"#000000","runtime":"Laya.runtime.ViewBase","height":2436},
"nodeParent":-1,
"label":"View",
@@ -501,6 +501,32 @@
}],
"$LOCKED":true,
"$HIDDEN":false
},
{
"x":15,
"type":"Box",
"props":{"width":10,"var":"boxParticle","name":"boxParticle","height":10,"centerY":0,"centerX":0},
"nodeParent":1,
"label":"Box(boxParticle)",
"isOpen":false,
"isDirectory":true,
"isAniNode":true,
"hasChild":true,
"compId":153,
"child":[
{
"type":"Particle2D",
"source":"particle/fly.part",
"props":{"y":5,"x":5,"url":"particle/fly.part","autoPlay":true},
"nodeParent":153,
"label":"Particle2D",
"isDirectory":false,
"isAniNode":true,
"hasChild":false,
"compId":154,
"child":[
]
}]
}],
"animations":[
{