Loading...
Searching...
No Matches
PixelCrushers.Wrappers.UIScrollbarEnabler Class Reference

Enables a scrollbar only if the content is larger than the scroll rect. More...

Inheritance diagram for PixelCrushers.Wrappers.UIScrollbarEnabler:
Collaboration diagram for PixelCrushers.Wrappers.UIScrollbarEnabler:

Additional Inherited Members

- Public Member Functions inherited from PixelCrushers.UIScrollbarEnabler
virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void CheckScrollbar ()
 
virtual void CheckScrollbarWithResetValue (float value)
 
- Public Attributes inherited from PixelCrushers.UIScrollbarEnabler
UnityEngine.UI.ScrollRect scrollRect = null
 
RectTransform scrollContent = null
 
UnityEngine.UI.Scrollbar scrollbar = null
 
bool smoothScroll = false
 
float smoothScrollSpeed = 5
 
- Protected Member Functions inherited from PixelCrushers.UIScrollbarEnabler
virtual void Start ()
 
virtual IEnumerator CheckScrollbarAfterUIUpdate (bool useResetValue, float resetValue)
 
- Protected Attributes inherited from PixelCrushers.UIScrollbarEnabler
bool m_started = false
 
bool m_checking = false
 
RectTransform m_scrollRectTransform = null
 

Detailed Description

Enables a scrollbar only if the content is larger than the scroll rect.

This component only only shows or hides the scrollbar when the component is enabled or when CheckScrollbar is invoked.


The documentation for this class was generated from the following file: