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
CreditsGhost
Inherited Members
Namespace: AdrianMiasik.Components.Specific
Assembly: Assembly-CSharp.dll
Syntax
public class CreditsGhost : Ghost, IColorHook, ITimerState, IPointerEnterHandler, IPointerExitHandler, IEventSystemHandler
Methods
| Improve this Doc View SourceInitialize(PomodoroTimer, Boolean)
Declaration
public override void Initialize(PomodoroTimer pomodoroTimer, bool updateColors = true)
Parameters
Type | Name | Description |
---|---|---|
PomodoroTimer | pomodoroTimer | |
System.Boolean | updateColors |
Overrides
| Improve this Doc View SourceLock()
Declaration
public void Lock()
OnPointerEnter(PointerEventData)
Declaration
public void OnPointerEnter(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.EventSystems.PointerEventData | eventData |
OnPointerExit(PointerEventData)
Declaration
public void OnPointerExit(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.EventSystems.PointerEventData | eventData |
ResetRightOffset()
Declaration
public void ResetRightOffset()
ResetWidth()
Declaration
public void ResetWidth()
SetRightOffset(Single)
Declaration
public void SetRightOffset(float rightOffsetInPixels)
Parameters
Type | Name | Description |
---|---|---|
System.Single | rightOffsetInPixels |
SetWidth(Single)
Declaration
public void SetWidth(float desiredWidthPercentage)
Parameters
Type | Name | Description |
---|---|---|
System.Single | desiredWidthPercentage |
Unlock()
Declaration
public void Unlock()