SubwayViewAnimator.ts 676 B

123456789101112131415161718192021222324252627282930
  1. import { _decorator, v3 } from "cc";
  2. import { AnimatorSkeletal } from "../../../../../extensions/oops-plugin-framework/assets/libs/animator/AnimatorSkeletal";
  3. import { Subway } from "../Subway";
  4. const { ccclass } = _decorator;
  5. @ccclass("SubwayViewAnimator")
  6. export class SubwayViewAnimator extends AnimatorSkeletal {
  7. /**关门完成完成 */
  8. onOpenDoorComplete: Function = null!;
  9. onLeaveComplete: Function = null!;
  10. onWaitComplete: Function = null!;
  11. onStationComplete: Function = null!;
  12. /** 地铁对象 */
  13. subway: Subway = null!;
  14. start() {
  15. super.start();
  16. }
  17. protected onDestroy(): void {
  18. super.destroy()
  19. }
  20. }