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/BoxGroupTest.cs

33 lines
563 B
C#

1 month ago
using UnityEngine;
namespace NaughtyAttributes.Test
{
public class BoxGroupTest : MonoBehaviour
{
[BoxGroup("Integers")]
public int int0;
[BoxGroup("Integers")]
public int int1;
[BoxGroup("Floats")]
public float float0;
[BoxGroup("Floats")]
public float float1;
[BoxGroup("Sliders")]
[MinMaxSlider(0, 1)]
public Vector2 slider0;
[BoxGroup("Sliders")]
[MinMaxSlider(0, 1)]
public Vector2 slider1;
public string str0;
public string str1;
[BoxGroup]
public Transform trans0;
[BoxGroup]
public Transform trans1;
}
}