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

ความคิดเห็น • 19

  • @dylhanroman5184
    @dylhanroman5184 8 หลายเดือนก่อน +2

    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.

  • @danilomontero7935
    @danilomontero7935 หลายเดือนก่อน +1

    I feel filthy rich after watching your video, thank you my lord

  • @-RiSK-AK
    @-RiSK-AK 3 หลายเดือนก่อน +1

    Awesome explanation, especially the already made examples !

  • @PRiMezGFX
    @PRiMezGFX 2 ปีที่แล้ว +1

    Great video! It’s great to see you take us through step by step then also show some different examples. Great quality tutorial!

  • @mx-gamesdev8287
    @mx-gamesdev8287 2 ปีที่แล้ว +3

    Best explanation thank you for this much appreciated.💯

  • @retrin9856
    @retrin9856 2 ปีที่แล้ว +1

    Great explanation Thanks

  • @grizlld9386
    @grizlld9386 ปีที่แล้ว

    Excellent as always. Kudos

  • @MisterPubbs
    @MisterPubbs ปีที่แล้ว

    Great and clear explanation

  • @tajaloe5920
    @tajaloe5920 ปีที่แล้ว

    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?

  • @murnoth
    @murnoth 2 ปีที่แล้ว

    Very useful, Thanks!

  • @ryanrobertjones
    @ryanrobertjones 2 ปีที่แล้ว

    Excellent

  • @omercandemirci8580
    @omercandemirci8580 ปีที่แล้ว

    Thanks your explanation, ı have question. weapon system is created with enum right?

  • @thedevilhimself1728
    @thedevilhimself1728 ปีที่แล้ว +5

    You sound like Viago from What We Do In The Shadows ahaha

  • @brandonharper3060
    @brandonharper3060 ปีที่แล้ว

    So are there situations where an array would be better suited than an enumerator?

  • @achristiangamer2000
    @achristiangamer2000 ปีที่แล้ว

    This was awesome. Thanks! Easy to follow and understand. Sub incoming!

  • @ivelinivanov3414
    @ivelinivanov3414 10 หลายเดือนก่อน

    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.

    • @ivelinivanov3414
      @ivelinivanov3414 10 หลายเดือนก่อน

      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.

  • @frankcastle2309
    @frankcastle2309 ปีที่แล้ว +4

    i'm poor