CocosCreator_ECS/assets/Script/ECS/components/ComCocosNode.ts
2022-03-21 17:27:37 +08:00

10 lines
307 B
TypeScript

import { EventBase } from "../../Struct/NodeEvent";
import { ComType } from "../lib/Const";
import { ECSComponent } from "../lib/ECSComponent";
@ECSComponent(ComType.ComCocosNode)
export class ComCocosNode {
public node: cc.Node = null;
public loaded = false;
public events: EventBase[] = [];
}