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

组件增加boolean属性会导致显示warning

$
0
0

@pleasenter 写道:

我在自定义组件里增加以下属性
LineInvert: { //行间倒序;
type: cc.Boolean,
default: false,
},
就会报warning:
No needs to indicate the "cc.Boolean" attribute for "NodePanel.LineInvert", which its default value is type of Boolean.
虽然不影响什么,但是也烦得很。

帖子: 3

参与者: 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>