-
Notifications
You must be signed in to change notification settings - Fork 15
OOP vs. Composition
antfarmar edited this page Dec 13, 2015
·
1 revision
- Component scripting isn't about Object-Oriented Programming, it's about programming for Unity's design.
- Development for Unity is in mostly procedural in nature, not object-oriented.
- Unity is Component based. You're working with collections of data with behavior attached.
- Components look like objects, but encapsulation and identity protection are not at all part of the architecture.
- Trying to force Unity to always adhere to proper OOP standards is not practical, and actually not possible.