Description
The Entries
property of the PanelTransform
struct in the Sandbox.UI
namespace represents the number of transformation entries present in the PanelTransform
instance. This property is useful for determining how many transformations have been applied to a UI panel.
Usage
To access the Entries
property, you need to have an instance of the PanelTransform
struct. This property is read-only and returns an integer value indicating the count of transformation entries.
Example
// Example of accessing the Entries property
// Assume panelTransform is an instance of PanelTransform
PanelTransform panelTransform = new PanelTransform();
// Get the number of transformation entries
int numberOfEntries = panelTransform.Entries;
// Output the number of entries
// Note: Use a UI element or logging system to display the value
// Example: myLabel.Text = $"Number of Entries: {numberOfEntries}";