mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Merge pull request #2012 from knoxHuang/v1.6
update remove toggleItems tips for fireball/issues/6416
This commit is contained in:
+3
-1
@@ -617,7 +617,9 @@ if (CC_DEBUG) {
|
||||
"8300": "Should only one camera exists, please check your project.", //cc.Camera.enabled
|
||||
"8301": "Camera does not support Canvas Mode.", //cc.Camera.enabled
|
||||
// AudioEngine: 8400
|
||||
"8400": "Wrong type arguments, 'filePath' must be a String." // cc.audioEngine.play
|
||||
"8400": "Wrong type arguments, 'filePath' must be a String.", // cc.audioEngine.play
|
||||
// ToggleGroup: 8500
|
||||
"8500": "The ToggleGroup.toggleItems api will be removed in v2.0, please obtain toggles in other ways. \uD83D\uDE30",
|
||||
};
|
||||
cc._LogInfos = logs;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ var ToggleGroup = cc.Class({
|
||||
*/
|
||||
toggleItems: {
|
||||
get: function () {
|
||||
cc.warn("The ToggleGroup.toggleItems api will be removed in v2.0, please obtain toggles in other ways. \uD83D\uDE30");
|
||||
cc.warnID(8500);
|
||||
return this._toggleItems;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user