Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

Cc.Class 怎么定义const属性?

$
0
0

@jumpchess1 写道:

var Server = cc.Class({
    properties: {
        typeCount : 34,
        allIndex : [],
        robert : [Robot], 
    },

比如说 typeCount要是const的

帖子: 4

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>