PixelCrushers.DialogueSystem.Wrappers.UnityUIScrollbarEnabler Class Reference

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

Inheritance diagram for PixelCrushers.DialogueSystem.Wrappers.UnityUIScrollbarEnabler:
Collaboration diagram for PixelCrushers.DialogueSystem.Wrappers.UnityUIScrollbarEnabler:

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 container.

This component only shows or hides the scrollbar when the component is enabled or when it receives the OnContentChanged event. Now just points to the Common Library version.

Normally this would be marked deprecated, but since it's used in so many customer dialogue UIs it's kinder to just let it point to the Common Library version.


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