Hi Hugo/Gamedev staff, hope you’re doing well…
Two questions:
-
Hugo has already answered to me that the event subscription is handled on Start() due to the way he decided to design unsubscription (Hugo’s answer), but I’m still wondering if we would have any “race condition” like the one mentioned on this specific lesson if we would have subscribed on OnEnable() instead of Start(), since OnEnable() runs before Start().
-
Is there any reason to have two different methods with the same name? I’m talking about the TryTakeEnemyAIAction() method.