main.js 778 B

12345678910111213141516171819202122232425262728293031323334
  1. 'use strict';
  2. module.exports = {
  3. load() {
  4. },
  5. unload() {
  6. // execute when package unloaded
  7. },
  8. // register your ipc messages here
  9. messages: {
  10. 'NodeActiveDis'() {
  11. Editor.Scene.callSceneScript('citrus', 'citrus-active', {});
  12. },
  13. 'GetNodeThree'() {
  14. Editor.Scene.callSceneScript('citrus', 'citrus-getThree', {});
  15. },
  16. 'GetNodeImageThree'() {
  17. Editor.Scene.callSceneScript('citrus', 'citrus-getImageThree', {});
  18. },
  19. 'LoadingImagee'() {
  20. Editor.Scene.callSceneScript('citrus', 'citrus-LoadingImagee', {});
  21. },
  22. 'ReplaceImagee'() {
  23. Editor.Scene.callSceneScript('citrus', 'citrus-ReplaceImagee', {});
  24. },
  25. 'Nodejson'() {
  26. Editor.Scene.callSceneScript('citrus', 'citrus-Nodejson', {});
  27. },
  28. },
  29. };