SetCoreGUIOpen

Method

Opens/Maximize or Close/Minimize a core GUI. When closed, this simply hides the GUI from the user, but does not disable it, which means the GUI can still be opened by the user via hotkeys.

If the GUI is currently disabled and an attempt is made to open the UI, it will not be opened, nor will it be opened if it is eventually enabled. However, closing the GUI even when it is disabled will still mark it as closed.

Definition

void SetCoreGUIOpen(SpatialCoreGUITypeFlags guis, bool open)
void SetCoreGUIOpen(SpatialCoreGUITypeFlags guis, bool open)

Parameters

ParameterDescription
SpatialCoreGUITypeFlags guis
bool open

Examples

public void OpenParticipantsList()
{
//Open the participants list.
SpatialBridge.coreGUIService.SetCoreGUIEnabled(SpatialCoreGUITypeFlags.ParticipantsList, enabled: true);
}
public void OpenParticipantsList()
{
//Open the participants list.
SpatialBridge.coreGUIService.SetCoreGUIEnabled(SpatialCoreGUITypeFlags.ParticipantsList, enabled: true);
}