UI Button With Verse To Hide Player And HUD
21,334 Views
-
using { /Fortnite.com/Devices } using { /Fortnite.com/UI } using { /Fortnite.com/Characters } using { /Fortnite.com/Playspaces } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } using { /UnrealEngine.com/Temporary/UI } using { /UnrealEngine.com/Temporary/SpatialMath } # Become Invisible /w Button # Created 10.23.23 by Lex Dreitser # See https://dev.ep/icgames.com/documentation/en-us/uefn/create-your-own-device-in-verse for how to create a verse device. # A Verse-authored creative device that can be placed in a level Game_Manager := class(creative_device): @editable ButtonUI : button_device = button_device{} TextForButton<localizes> : message = "Hide Player and HUD " var PlayerCanvas : canvas = canvas {} OnBegin<override>()<suspends>:void= ButtonUI.InteractedWithEvent.Subscribe(HandleButtonPress) # Subscribe to Events for Button in Gameworld
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.