You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
542 B
19 lines
542 B
2 years ago
|
using UnityEngine;
|
||
|
|
||
|
namespace UIWidgets {
|
||
|
/// <summary>
|
||
|
/// Centered vertical slider (zero at center, positive and negative parts have different scales).
|
||
|
/// </summary>
|
||
|
[AddComponentMenu("UI/UIWidgets/CenteredSliderVertical")]
|
||
|
public class CenteredSliderVertical : CenteredSlider
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Determines whether this instance is horizontal.
|
||
|
/// </summary>
|
||
|
/// <returns><c>true</c> if this instance is horizontal; otherwise, <c>false</c>.</returns>
|
||
|
protected override bool IsHorizontal()
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
}
|