Using Enums In Unreal Engine To Customize Lightsaber Colors For Star Wars Day (part 2)

Published: 04 May 2024
on channel: Digital Alchemy
772
5

Happy Star Wars Day! In Part 2 of the Let's Build a Lightsaber in Unreal Engine 5 tutorial, we're going to use an Enum to add some customization to our lightsaber, giving us the ability to select a type (Jedi, Sith, Windu) to change the color. This continues building out from the first video (Part 1 linked below). But if you just want to get a quick example of using enums in Unreal, check the bookmark links below for the specific aspect you want to learn about.

Let's Build a Lightsaber Part 1:    • Creating Your Own Lightsaber In Unrea...  
Free Lightsaber asset download (we put it together in Part 1): https://learndigitalalchemy.com/downl...

Ready for more Unreal Engine Training? You can check out my Unreal Engine Pro Masterclass here: https://unrealenginepro.com/

Yes, that music at the beginning is original and not licensed from Lucasfilm or Disney. The music along with the sound FX used in the video were licensed from Artlist. If you're looking for music, sound FX, or B-roll for your own videos, you can get 2 extra months free with your subscription to by clicking here: https://artlist.io/Johnny-3869057
00:00 Introduction
00:50 Parameterizing Our Materials
01:49 Changing Colors on Materials in Blueprint
05:24 Creating Enums
06:51 Enums as Variables in Blueprint
07:53 Using Enums in Blueprint
09:24 Using Switch on Enum
10:51 Seeing it in Action
11:13 Debugging What "Should Work"
11:59 Conclusion


Watch video Using Enums In Unreal Engine To Customize Lightsaber Colors For Star Wars Day (part 2) online without registration, duration hours minute second in high quality. This video was added by user Digital Alchemy 04 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 772 once and liked it 5 people.