If the script containing the EnterRaftMenu() function is attached to the overworldObject GameObject, the coroutine will stop running when overworldObject is deactivated.
Therefore, it's better to control it from a different GameObject, such as a Manager object, instead of attaching it to overworldObject.