UNPKG

ecsy-baby

Version:

A community project for easy implementation of ecsy in babylon.js

10 lines (8 loc) 236 B
import { Engine } from 'babylonjs'; import { Component, ComponentSchema, Types } from 'ecsy'; export class EngineComponent extends Component<any> { engine: Engine static schema: ComponentSchema = { engine: { type: Types.Ref } } }