Class ResolutionDetector
Responsible for detecting when the application window size changes. By default, it checks the current windows size every second and compares it with its cache to determine if the window has been resized. If the window has been resized it will fire off an action upon checking.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ResolutionDetector
Namespace: AdrianMiasik.Components.Specific
Assembly: Assembly-CSharp.dll
Syntax
public class ResolutionDetector : MonoBehaviour
Fields
| Improve this Doc View SourceonResolutionChange
Declaration
[HideInInspector]
public UnityEvent onResolutionChange
Field Value
Type | Description |
---|---|
UnityEngine.Events.UnityEvent |
Methods
| Improve this Doc View SourceInitialize(PomodoroTimer)
Declaration
public void Initialize(PomodoroTimer pomodoroTimer)
Parameters
Type | Name | Description |
---|---|---|
PomodoroTimer | pomodoroTimer |