import {GameEventEnum} from "../enum/GameEventEnum"; const {ccclass, property} = cc._decorator; @ccclass export class SmallMonsterEventHandler extends cc.Component { protected onLoad() { } start() { } readyDown() { // cc.director.emit(GameEventEnum.CAN_DOWN) } protected onDestroy() { } }