You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Plugins/NaughtyAttributes/Scripts/Test/MinMaxSliderTest.cs

29 lines
565 B
C#

using UnityEngine;
namespace NaughtyAttributes.Test
{
public class MinMaxSliderTest : MonoBehaviour
{
[MinMaxSlider(0.0f, 1.0f)]
public Vector2 minMaxSlider0 = new Vector2(0.25f, 0.75f);
public MinMaxSliderNest1 nest1;
}
[System.Serializable]
public class MinMaxSliderNest1
{
[MinMaxSlider(0.0f, 1.0f)]
public Vector2 minMaxSlider1 = new Vector2(0.25f, 0.75f);
public MinMaxSliderNest2 nest2;
}
[System.Serializable]
public class MinMaxSliderNest2
{
[MinMaxSlider(1, 11)]
public Vector2Int minMaxSlider2 = new Vector2Int(6, 11);
}
}