Using C# Reflection to get deriving class type from base class (new to reflection)
So i followed this great video on reflection: https://www.youtube.com/watch?v=85_l-bdMlSE and it was a great introduction to reflection but now i want to know how i could instead have a base class called say for example "ExtendedMonoBehaviour" and have Character inherit from that rather than regular MonoBehaviour so that the CopyWithReflection and PasteWithReflection Context Menus are in ExtendedMonoBehaviour and it knows that Character is inheriting from it. Basically in the part in the video in the Character script if the line that says "Type characterType = (typeof(Character))" could be replaced to check which script is inheriting from ExtendedMonoBehaviour.
Sorry I hope that is clear enough, I haven't posted questions much before but am going to start doing so more frequently.