Item Class |
Namespace: Kit.UI
The Item type exposes the following members.
| Name | Description | |
|---|---|---|
| Data | Gets or sets element data. Calls Refresh when setting so the UI updates. | |
| Index | Gets or sets the transform index. Useful to re-order if the element is a part of a layout. |
| Name | Description | |
|---|---|---|
| Refresh | Method that gets called when Data is updated. Child classes should override this method and update the UI here. |
| Name | Description | |
|---|---|---|
| Destroy | Destroy the object. (Defined by UnityObjectExtensions.) | |
| Disable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| Enable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| GetBounds | Returns the bounds of the Component. | |
| IsPrefab | Returns whether the Component is a part of a prefab. (Defined by ComponentExtensions.) |