You are very welcome! It is a good node idea 🙂 I just changed the node to be a T (better this way) and attaching the change for you here. It will of course be part of the next version as well. Please note that this replaces the SwitchUnityObject node I previously send to you.
Let me know if it works for you.
By the way, if you only need to check an enum for one of its values, you might want to use the “Any Equals” node with a Switch Condition node. This requires a few more nodes, but you might prefer it.
Your added code change for the “Then” is very correct, yes 🙂