| 12345678910111213141516171819202122232425262728 |
- cc.Class({
- extends: cc.Component,
- properties: {
- BGArr: {
- default: [],
- type: [cc.Node],
- serializable: true,
- },
- Player: {
- default: null,
- type: cc.Node,
- serializable: true,
- },
- },
- onLoad ()
- {
- this.distance = 0;
- },
- start ()
- {
- },
- update (dt)
- {
- },
- });
|