I just wanted to ask, would it make sense in this project to subscribe to and from events using the OnEnable and OnDisable methods? I’m thinking of our OnSelectedUnitChanged, OnSelectedActionChanged, and OnBusyChanged events. I remember watching a tutorial (not from gamedev.tv mind you though) in which the instructor put alot of emphasis on the importance of subbing and unsubbing to events using the OnEnable and OnDisable methods. I just wanted to ask if that would make sense to do for this project and if that is a best practice. Or, that would not make sense for this project and course? Thanks!
This is the video I mentioned by Unity: C# Events in Unity! - Intermediate Scripting Tutorial - YouTube
Around the 4-minute mark the speaker mentions the importance of setting up an unsubscribe when you subscribe.