ListCell.js
1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
var Common=require('Common');
var Network=require('Network');
var TVFocus=require('TVFocus');
var FocusInfo=require('FocusInfo');
var Application=require('Application');
var Log=require('Log');
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// default: null, // The default value will be used only when the component attaching
// to a node for the first time
// url: cc.Texture2D, // optional, default is typeof default
// serializable: true, // optional, default is true
// visible: true, // optional, default is true
// displayName: 'Foo', // optional
// readonly: false, // optional, default is false
// },
// ...
_iCellIndex:-1, //这个用于记录某个Cell PFB的索引
},
// use this for initialization
onLoad: function () {
},
render:function(){
},
// called every frame, uncomment this function to activate update callback
// update: function (dt) {
// },
});