-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this a good design? #128
Comments
Hi @whatisor No more too crazy multiple inheritances with thousands of dots in between. And no more need to memorise all this madness. Just to assure you, simplification - it is happening, but need a bit more time ;) |
We've streamlined the Entity/Component API in the latest release. Now the code looks like this: var entity = new pc.Entity();
entity.addComponent("camera");
entity.addComponent("light", {
type: "point"
}); Much better! |
I am a developer who use threejs somewhere.
I've discovered playcanvas and felt its sample pretty good and BIG options instead of threejs
Howerver, when I check sample code, I feel something about this:
application.context.systems.model.addComponent
just question, is this a good design which call DEEPLY into child?
Thank you
The text was updated successfully, but these errors were encountered: