Why MonoBehaviour is deleted?

Hello. I don’t get why it’s needed to delete monoBehaviour inheritance in ActionMaster.cs. Can you be more explicit about that? thank you!

Hello Hojaverde,

ActionMaster.cs is a static class, it doesn’t need to be instantiated, and as a static class it cannot be inherited from, or inherit other classes. This type of class is useful for situations where you need to perform just calculations and don’t actually store any information within the class itself.

Hope this helps :slight_smile:


See also;

1 Like

Thank you Rob for the explanation!

1 Like

You are very welcome :slight_smile:

Privacy & Terms