cannot assign enum value to set variable node

Hi I’m using unity 2021.3 visual scripting 1.7.8
When I set variable in the blackborad, I can find my ActionState enum class.
But then I want to use the Set Variable node to assign a value to the enum variable, I can’t find my ActionState enum class.
Is there any step I’m doing wrong or there’s some node setting I’m missing?

Have you made sure to include the class in visual scripting section of the project settings then regenerate nodes?

Thanks for reply! Didn’t realise that enum is a kind of type ;(

I add the enum type into [project settings → Type Options], it works now!

also [Regenerate Nodes] is required, only add the type won’t work

1 Like