I found a way to make a rotating platform w/ Navmesh. Any improvements I can make?

So I made a rotating platform that the AI can still path find on and properly work on. It works like this:
The blue area is the total area that the AI can path on:

Then there is the part that you actually see rotating and land on:

Then I just used some obstacles w/ carving on, that rotate with the green part:

Then you just hide everything:

So basically, the whole area can be pathed on, but some of it is being carved out by the obstacles, limiting the AI to only be able to walk on the green area. The player can only walk on the green area too, as the red and blue areas have Trigger BoxColliders. However, I feel that this is kind of a lot just to make a rotating platform.
Are there any improvements I can make to this design, or is there other designs that are better?

Edit: I’ve been playing around with it, and I’ve noticed a bug.
The AI can path find in the air if the green area is diagonal and the player walks off the platform, leading the enemy to walk off the platform and float in the air:


However, you can fix this by placing an unwalkable block in the general area, or by having actual walkable areas like the ramps up to the platform.