File tree Expand file tree Collapse file tree 3 files changed +27
-8
lines changed
Expand file tree Collapse file tree 3 files changed +27
-8
lines changed Original file line number Diff line number Diff line change 3030 </ pc-entity >
3131 <!-- Star -->
3232 < pc-entity name ="star "
33- onpointerenter ="this.entity.script.tweener.play(0 ) "
34- onpointerleave ="this.entity.script.tweener.play(1 ) "
35- onpointerdown ="this.entity.script.tweener.play(2 ) ">
33+ onpointerenter ="this.entity.script.tweener.play(2 ) "
34+ onpointerleave ="this.entity.script.tweener.play(3 ) "
35+ onpointerdown ="this.entity.script.tweener.play(0);this.entity.script.tweener.play(1 ) ">
3636 < pc-model asset ="star "> </ pc-model >
3737 < pc-scripts >
3838 < pc-script name ="tweener " attributes ='{
3939 "tweens": [
40+ {
41+ "path": "localPosition",
42+ "start": [0, 0, 0, 0],
43+ "end": [0, 0.2, 0, 0],
44+ "duration": 1500,
45+ "easingFunction": "Sinusoidal",
46+ "easingType": "InOut",
47+ "yoyo": true,
48+ "repeat": -1
49+ }, {
50+ "path": "localEulerAngles",
51+ "start": [0, 0, 0, 0],
52+ "end": [0, 10, 0, 0],
53+ "duration": 2000,
54+ "easingFunction": "Sinusoidal",
55+ "easingType": "InOut",
56+ "yoyo": true,
57+ "repeat": -1
58+ },
4059 {
4160 "path": "localScale",
4261 "start": [1, 1, 1, 0],
Original file line number Diff line number Diff line change 5555 "rollup" : " ^4.28.1" ,
5656 "serve" : " ^14.2.4" ,
5757 "tslib" : " ^2.8.1" ,
58- "typedoc" : " ^0.27.3 " ,
58+ "typedoc" : " ^0.27.4 " ,
5959 "typedoc-plugin-mdn-links" : " ^4.0.4" ,
6060 "typescript" : " ^5.7.2"
6161 }
You can’t perform that action at this time.
0 commit comments