Solid Principles C#— The Open Closed Principle

Using the Open Closed Principle in Unity with jump and run style

What do we want to build?

In this post I will demonstrate to you a proper way to distinguish between elements, that collide with a Collider2D-Object from Unity and trigger certain actions, depending on the properties of the colliding…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arnold Abraham

Arnold Abraham

896 Followers

German software engineer who helps aspiring coders to learn software development enjoyably where fun & emotions come first to learn on the fly 😉 arnoldcode.com