PicoES v0.3.1
Pre-release
Pre-release
Bugfix
- Fixed #27 - Component constructors got called before the component was added to the entity. Added back onCreate() method to fix this. Both constructors and onCreate take the same parameters (starting with entity), to stay consistent. Note that it is dangerous to use constructors' entity parameter since the component being created will be
undefined
.