ComCocosNode.ts 307 B

12345678910111213
  1. /** @format */
  2. import {ComType} from '../lib/Const'
  3. import {ECSComponent} from '../lib/ECSComponent'
  4. import {EventBase} from '../core/NodeEvent'
  5. @ECSComponent(ComType.ComCocosNode)
  6. export class ComCocosNode {
  7. public node: cc.Node = null
  8. public loaded = false
  9. public events: EventBase[] = []
  10. }