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.
33 lines
582 B
C#
33 lines
582 B
C#
using UnityEngine;
|
|
|
|
namespace NaughtyAttributes.Test
|
|
{
|
|
public class FoldoutTest : MonoBehaviour
|
|
{
|
|
[Foldout("Integers")]
|
|
public int int0;
|
|
[Foldout("Integers")]
|
|
public int int1;
|
|
|
|
[Foldout("Floats")]
|
|
public float float0;
|
|
[Foldout("Floats")]
|
|
public float float1;
|
|
|
|
[Foldout("Sliders")]
|
|
[MinMaxSlider(0, 1)]
|
|
public Vector2 slider0;
|
|
[Foldout("Sliders")]
|
|
[MinMaxSlider(0, 1)]
|
|
public Vector2 slider1;
|
|
|
|
public string str0;
|
|
public string str1;
|
|
|
|
[Foldout("Transforms")]
|
|
public Transform trans0;
|
|
[Foldout("Transforms")]
|
|
public Transform trans1;
|
|
}
|
|
}
|