Interface IUIPanel
Interface for UI panels, meant to be used when managed by a UIStack
Namespace: Atlas
Assembly: Atlas.Runtime.dll
Syntax
public interface IUIPanel
Properties
| Improve this Doc View SourceIsActive
Whether or not the panel is currently active, will be set by the UIStack
Declaration
bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceOnHide(Boolean)
Called when the panel becomes hidden in the UIStack
Declaration
void OnHide(bool doTransition)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | doTransition | Whether or not a transition is intended |
OnPop(Boolean)
Called when the panel is removed from the UIStack
Declaration
void OnPop(bool doTransition)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | doTransition | Whether or not a transition is intended |
OnPush(Boolean)
Called when the panel is added to the UI stack
Declaration
void OnPush(bool doTransition)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | doTransition | Whether or not a transition is intended |
OnShow(Boolean)
Called when the panel becomes the top (visible) panel in the UIStack
Declaration
void OnShow(bool doTransition)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | doTransition | Whether or not a transition is intended |