New Unity Input System: Getting Started

https://www.raywenderlich.com/9671886-new-unity-input-system-getting-started

Salutations.
I’m working through the course.
I’m wondering why the author is using protected for field values when the class will not have other types derived from it. This is typical for most of the classes.

I would assumed private accessibility would be more suitable.
… and it would save some warning messages in my IDE

image

Regards,
Kerry

This topic was automatically closed after 166 days. New replies are no longer allowed.