File tree Expand file tree Collapse file tree 1 file changed +3
-22
lines changed
Expand file tree Collapse file tree 1 file changed +3
-22
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(2 ) "
34- onpointerleave ="this.entity.script.tweener.play(3 ) "
35- onpointerdown ="this.entity.script.tweener.play(0);this.entity.script.tweener.play(1 ) ">
33+ onpointerenter ="this.entity.script.tweener.play(0 ) "
34+ onpointerleave ="this.entity.script.tweener.play(1 ) "
35+ onpointerdown ="this.entity.script.tweener.play(2 ) ">
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- },
5940 {
6041 "path": "localScale",
6142 "start": [1, 1, 1, 0],
You can’t perform that action at this time.
0 commit comments