Enables a scrollbar only if the content is larger than the container. More...
Public Member Functions | |
void | OnEnable () |
void | OnDisable () |
void | CheckScrollbar () |
Public Attributes | |
RectTransform | container = null |
RectTransform | content = null |
GameObject | scrollbar = null |
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.
void PixelCrushers.DialogueSystem.UnityUIScrollbarEnabler.CheckScrollbar | ( | ) |
void PixelCrushers.DialogueSystem.UnityUIScrollbarEnabler.OnDisable | ( | ) |
void PixelCrushers.DialogueSystem.UnityUIScrollbarEnabler.OnEnable | ( | ) |
RectTransform PixelCrushers.DialogueSystem.UnityUIScrollbarEnabler.container = null |
RectTransform PixelCrushers.DialogueSystem.UnityUIScrollbarEnabler.content = null |
GameObject PixelCrushers.DialogueSystem.UnityUIScrollbarEnabler.scrollbar = null |