Manage EZUI Containers With The API Module
42,194 Views
-
<# A bare minimum script for building upon the EZUI method of displaying UI #> using { /Fortnite.com/Devices } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } #imports using { /UnrealEngine.com/Temporary/UI } using { /Fortnite.com/UI } using {EZUI} EZ_UIClass := class () { EZ_LinkedCreativeDevice<public> : ez_ui_container # a backreference to the device that created this EZUI class EZ_LinkedPlayer<public> : player # the player linked to this instance of the EZUI class EZ_UI_ID<public> : int # used to control what UI is drawn by EZUI var IsInitialized<private> : logic = false # a lock to prevent recreating the canvas after the first execution of Initialize() var MainCanvas<private> : canvas = canvas{} # the canvas that holds all the screen elements and will be added to the PlayerUI
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.