Change UI text color based on level
I need to change the UI text color for each level. Currently I've made a function out of the color similar to https://answers.unrealengine.com/questions/483337/umg-how-to-change-text-color-with-onunhovered.html I then wanted to use a variable to select what colour based on the level loading. I'm new to UE so not sure if this the best way to do it.
asked Jan 04 '18 at 11:30 AM in Using UE4
Hey there, welcome to the Unreal 4 community!
You can create a custom event or function that checks which level you are currently in and set the color variables based on that. Using this node: https://docs.unrealengine.com/latest/INT/BlueprintAPI/Game/GetCurrentLevelName/
If this is not enough info, I can try to give a more in-depth explanation.
answered Jan 04 '18 at 03:36 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here