Game User Settings Library
- Base:
- UBlueprintFunctionLibrary
- Type:
- UNGameLayerLibrary
- Header File:
- NexusUI/Public/NGameLayerLibrary.h
A small collection of functionality to help with the Game Layer UI system.
UFunctions​
Layers​
Set Layer Visibility​
/**
* Changes a layer's visibility from the GameLayerManager.
* @param LocalPlayer The local player whose UI you want to affect.
* @param Name The name of the layer you want to affect.
* @param Visibility The visibility you want to set the layer to.
* @return True if the layer was successfully set, false otherwise.
*/
static bool SetLayerVisibility(ULocalPlayer* LocalPlayer, const FName Name, ESlateVisibility Visibility);