GetGraphicalUiElementByName
Introduction
Code Example
// Assuming the current code has a EntireGumScreen object:
EntireGumScreen.GetGraphicalUiElementByName("Score").Enabled = false;Last updated
Was this helpful?
GetGraphicalUiElementByName returns the instance of a contained element by name, or null if a matching element isn't found.
The following code can be used to find the "Score" component and disable it from being a clickable UI element:
// Assuming the current code has a EntireGumScreen object:
EntireGumScreen.GetGraphicalUiElementByName("Score").Enabled = false;For more information on the Enabled property, see the IWindow.Enabled page.
Last updated
Was this helpful?
Was this helpful?