First commit for private source control. Older commits available on Github.
This commit is contained in:
32
Assets/Plugins/NaughtyAttributes/Scripts/Test/FoldoutTest.cs
Normal file
32
Assets/Plugins/NaughtyAttributes/Scripts/Test/FoldoutTest.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user