r/badcode • • Jun 17 '20

c# You've heard of spaghetti code, get ready for sausage link code

Post image
2.1k Upvotes

48 comments sorted by

View all comments

Show parent comments

2

u/HoiTemmieColeg Jul 14 '20

To be a little more specific, Component inherits from GameObject and MonoBehaviour inherits from Component. (Most built-in unity components aren’t MonoBehaviours but are instead Components).

1

u/Speedswiper Jul 14 '20

I had no idea, thanks!