UNPKG

@animech-public/playcanvas

Version:
2 lines (1 loc) 444 B
import{Component as t}from"../component.js";import{ComponentSystem as o}from"../system.js";import{JointComponent as s}from"./component.js";import{JointComponentData as i}from"./data.js";const e=["enabled"];class p extends o{constructor(t){super(t),this.id="joint",this.app=t,this.ComponentType=s,this.DataType=i,this.schema=e}initializeComponentData(t,o,s){t.initFromData(o)}}t._buildAccessors(s.prototype,e);export{p as JointComponentSystem};