Show / Hide Table of Contents

Class CreditsGhost

A TimerProgress inheritor used for displaying the authors name of the app. Intended to minimize after a couple seconds via the base class.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ThemeElement
Ghost
CreditsGhost
Implements
IColorHook
ITimerState
Inherited Members
Ghost.m_icon
Ghost.m_textContainer
Ghost.m_text
Ghost.m_fadeProgress
Ghost.StateUpdate(PomodoroTimer.States, Theme)
Ghost.Update()
Ghost.FadeIn(Boolean)
Ghost.FadeOut(Boolean)
Ghost.ColorUpdate(Theme)
ThemeElement.Timer
ThemeElement.IsInitialized()
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Specific
Assembly: Assembly-CSharp.dll
Syntax
public class CreditsGhost : Ghost, IColorHook, ITimerState, IPointerEnterHandler, IPointerExitHandler, IEventSystemHandler

Methods

| Improve this Doc View Source

Initialize(PomodoroTimer, Boolean)

Declaration
public override void Initialize(PomodoroTimer pomodoroTimer, bool updateColors = true)
Parameters
Type Name Description
PomodoroTimer pomodoroTimer
System.Boolean updateColors
Overrides
Ghost.Initialize(PomodoroTimer, Boolean)
| Improve this Doc View Source

Lock()

Declaration
public void Lock()
| Improve this Doc View Source

OnPointerEnter(PointerEventData)

Declaration
public void OnPointerEnter(PointerEventData eventData)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData
| Improve this Doc View Source

OnPointerExit(PointerEventData)

Declaration
public void OnPointerExit(PointerEventData eventData)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData
| Improve this Doc View Source

ResetRightOffset()

Declaration
public void ResetRightOffset()
| Improve this Doc View Source

ResetWidth()

Declaration
public void ResetWidth()
| Improve this Doc View Source

SetRightOffset(Single)

Declaration
public void SetRightOffset(float rightOffsetInPixels)
Parameters
Type Name Description
System.Single rightOffsetInPixels
| Improve this Doc View Source

SetWidth(Single)

Declaration
public void SetWidth(float desiredWidthPercentage)
Parameters
Type Name Description
System.Single desiredWidthPercentage
| Improve this Doc View Source

Unlock()

Declaration
public void Unlock()

Implements

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