#Problem with enum & match

3 messages · Page 1 of 1 (latest)

gleaming marlin
#

Hi o/
Started using the engine a few days ago, and I'm currently following a tutorial by brackeys.
The code consists of simply creating a new enum called Alignment (with some "tags", I dont know what these are called) and then using a match to check what "tag" in Alignment I have currently selected in the inspector
I really don't understand how I'm getting an error here even tho it is exactly the same code as brackeys and his is working perfectly fine (my code in first image, brackeys in the second)
I'd appreciate the help bopcorn

gleaming marlin
#

Omg no 😭