3.1.0 • Published 7 years ago
complex-debug v3.1.0
Complex-debug
Install
install via npm
npm install complex-debug --save
Usage
Pass an array of objects with properties tag
, props
, path
and name
into the systems constructor. These are the configurations for the components which will be debugged.
{'tag':"cx.physic.component", 'props' : [0, 1], 'path': ['body', 'position'], 'name':'position'}
TAG: define which component should be debugged.
PROPS: define which properties of that component should be debugged. If there is a property inside an object in the component, you can simply pass a path
to the property
NAME: Simplified Name in the gui
Complete Usage