top of page

Switch on Enum

When using Switch on Enum, if you click on the Selection input and choose Promote to Variable, the new variable's type is Byte. The new variable will be wired to the pin. Delete that. Then go to the Details panel for the new variable and change the variable type to match whatever your enumeration asset is called. Drag this back onto the switch Selection pin, and nothing looks different. However, when you drag the variable into the graph using Get (or Ctrl-drag) you will see the enum's entries in a roll down list, as in the image below. Much nicer than using a byte value.

CaptureEnumbyte.PNG

Featured Posts
Recent Posts
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page