Fix EventDispatcher and Object3D.
- Add array.
- Fix Object3D.
Modify script to make cpp from h.