Class Page
A ThemeElement page that displays/hides it's associated content.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Page
Implements
Inherited Members
Namespace: AdrianMiasik.Components.Base
Assembly: Assembly-CSharp.dll
Syntax
public class Page : ThemeElement, IColorHook
Methods
| Improve this Doc View SourceColorUpdate(Theme)
Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type | Name | Description |
---|---|---|
Theme | theme |
Overrides
| Improve this Doc View SourceHide(Action)
Hides this page away from the user.
Declaration
public virtual void Hide(Action onAnimationCompletion)
Parameters
Type | Name | Description |
---|---|---|
System.Action | onAnimationCompletion | What do you want to do when the page turning animation is completed? |
IsPageOpen()
Is this page currently open and visible?
Declaration
public bool IsPageOpen()
Returns
Type | Description |
---|---|
System.Boolean |
Refresh()
Declaration
public virtual void Refresh()
Show(Action)
Displays this page to the user.
Declaration
public virtual void Show(Action onAnimationCompletion)
Parameters
Type | Name | Description |
---|---|---|
System.Action | onAnimationCompletion | What do you want to do when the page turning animation is completed? |