easy implementation of virtual methods (C#, Unity)
Answered
I have an issue with unity,
which itself has difficulty in serializing abstract classes and interfaces, which kinda forces you to use a lot of virtual methods
(i don't want to go into the details, but i've done the research...)
my IDE request or request for solution,
is to be able to implement virtual methods in the same way that the IDE requires me to implement abstract methods, or methods required by an interface.
is there any way that I can achieve that? a plug in or a script that I can use inside rider?
it would really solve A LOT of issues I am facing now when I have to refactor things....
thank you whoever will answer :)
Please sign in to leave a comment.
Hello Kobi,
Rider has an inspection for the case when virtual method is never overrided. You can change the severity for the inspection to warning or error in Preferences | Editor | Inspection Settings | Inspection Severity | C# or in editor as it is shown on the screenshot:
It gives better visibility to such members. Let me know if that helps.