SmallMonsterEventHandler.ts 339 B

123456789101112131415161718192021222324
  1. import {GameEventEnum} from "../enum/GameEventEnum";
  2. const {ccclass, property} = cc._decorator;
  3. @ccclass
  4. export class SmallMonsterEventHandler extends cc.Component {
  5. protected onLoad() {
  6. }
  7. start() {
  8. }
  9. readyDown() {
  10. // cc.director.emit(GameEventEnum.CAN_DOWN)
  11. }
  12. protected onDestroy() {
  13. }
  14. }