Show / Hide Table of Contents

Class Page

A ThemeElement page that displays/hides it's associated content. Intended to be used with ItemSelector<T>, also see .

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ThemeElement
Page
AboutPage
SettingsPage
TimerPage
Implements
IColorHook
Inherited Members
ThemeElement.Timer
ThemeElement.Initialize(PomodoroTimer, Boolean)
ThemeElement.IsInitialized()
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Base
Assembly: Assembly-CSharp.dll
Syntax
public class Page : ThemeElement, IColorHook

Methods

| Improve this Doc View Source

ColorUpdate(Theme)

Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type Name Description
Theme theme
Overrides
ThemeElement.ColorUpdate(Theme)
| Improve this Doc View Source

Hide(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?

| Improve this Doc View Source

IsPageOpen()

Is this page currently open and visible?

Declaration
public bool IsPageOpen()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Refresh()

Declaration
public virtual void Refresh()
| Improve this Doc View Source

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?

Implements

IColorHook
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX