Set Default UI Status

Player
Both Server and Client
Both Mobile and PC

Set the target player's default interface visibility

Declaration

func SetDefaultUIStatus(target entity<Player>, type PlayerUISwitchType, status CommonUISwitchValue)
go

Parameters

Input

Name Type Description
Target Player Target Player
Type PlayerHudSwitchType Player interface type. Player interface type is the UI element used to control players and player-related content.
Status CommonHudSwitchValue Switch value, determines the visibility of the player interface