18 lines
516 B (Stored with Git LFS)
C#
18 lines
516 B (Stored with Git LFS)
C#
// Copyright (c) Pixel Crushers. All rights reserved.
|
|
|
|
using UnityEngine;
|
|
|
|
namespace PixelCrushers.Wrappers
|
|
{
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
[AddComponentMenu("Pixel Crushers/Common/UI/UI Scrollbar Enabler")]
|
|
public class UIScrollbarEnabler : PixelCrushers.UIScrollbarEnabler
|
|
{
|
|
}
|
|
|
|
}
|