Course: Utilizing Python for Editor Scripting in Unreal Engine

In module 10, there’s a better way to assign the different materials using the Switch On Int node and creating a Material Interface variable:

I don’t mean to nitpick or anything, but this is useful flow control node and is definitely a little cleaner than what is done in the video.