feecbd7f-fd99-4519-af85-ed704650d8f6.js 1.1 KB

123456789101112131415161718192021222324
  1. "use strict";
  2. cc._RF.push(module, 'feecb1//ZlFGa+F7XBGUNj2', 'use_v2.1-2.2.1_cc.Toggle_event');
  3. // migration/use_v2.1-2.2.1_cc.Toggle_event.js
  4. "use strict";
  5. /*
  6. * This script is automatically generated by Cocos Creator and is only used for projects compatible with the v2.1.0 ~ 2.2.1 version.
  7. * You do not need to manually add this script in any other project.
  8. * If you don't use cc.Toggle in your project, you can delete this script directly.
  9. * If your project is hosted in VCS such as git, submit this script together.
  10. *
  11. * 此脚本由 Cocos Creator 自动生成,仅用于兼容 v2.1.0 ~ 2.2.1 版本的工程,
  12. * 你无需在任何其它项目中手动添加此脚本。
  13. * 如果你的项目中没用到 Toggle,可直接删除该脚本。
  14. * 如果你的项目有托管于 git 等版本库,请将此脚本一并上传。
  15. */
  16. if (cc.Toggle) {
  17. // Whether to trigger 'toggle' and 'checkEvents' events when modifying 'toggle.isChecked' in the code
  18. // 在代码中修改 'toggle.isChecked' 时是否触发 'toggle' 与 'checkEvents' 事件
  19. cc.Toggle._triggerEventInScript_isChecked = true;
  20. }
  21. cc._RF.pop();