What is an Enum / Enumerator and how do you use it? | Unreal Engine 5
ฝัง
- เผยแพร่เมื่อ 21 ก.ย. 2024
- Today I'll explain what an Enum/Enumerator is, how you can create one in Unreal Engine 4 or 5, and how you can use it to simplify complex code in a readable way in Unreal Engine 4 or 5. Note that we are using Unreal Engine 5 Blueprints for this video, but this perfectly translates to Unreal Engine 4 without any difference to the process.
Sorry for the downgraded audio quality towards the middle, this will not happen in the next video.
Keywords:
#UnrealEngine #UE4 #UE5 #Enumeration #Enum #EnumUE #UnrealEngineEnum #UnrealEngine5
It's the best explanation ever made by someone on TH-cam. Why do tutorials for beginners never apply this important variable, what a waste of time.
pee pee poo poo
I feel filthy rich after watching your video, thank you my lord
Awesome explanation, especially the already made examples !
Great video! It’s great to see you take us through step by step then also show some different examples. Great quality tutorial!
Best explanation thank you for this much appreciated.💯
Great explanation Thanks
Excellent as always. Kudos
Great and clear explanation
Very good explanation, honesty I for most of my functionality, I just use a couple of Bools and branch nodes, ie IsInCombat? If yes then do this, if no then nothing, and then I might have one for things like running or whatever. Is using an Enum faster? Why would I use them over simple. Booleans?
Very useful, Thanks!
Excellent
Thanks your explanation, ı have question. weapon system is created with enum right?
You sound like Viago from What We Do In The Shadows ahaha
So are there situations where an array would be better suited than an enumerator?
This was awesome. Thanks! Easy to follow and understand. Sub incoming!
That's really smart and helpful. Thank you very much. Perhaps I should apply something similar for my game to prevent crouch running lol :D Ooh I like the sliding, too! Pretty cool.
Do you use enums for the animation blueprint as well, let's say you have a character with different weapons and sets of animations for each? I think i'm just now finding how to unmess my state machine lol. I'm wondering though if I should use different state machines for each weapon or not.
i'm poor