First commit for private source control. Older commits available on Github.
This commit is contained in:
28
Assets/Plugins/NaughtyAttributes/Scripts/Test/InfoBoxTest.cs
Normal file
28
Assets/Plugins/NaughtyAttributes/Scripts/Test/InfoBoxTest.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace NaughtyAttributes.Test
|
||||
{
|
||||
public class InfoBoxTest : MonoBehaviour
|
||||
{
|
||||
[InfoBox("Normal", EInfoBoxType.Normal)]
|
||||
public int normal;
|
||||
|
||||
public InfoBoxNest1 nest1;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class InfoBoxNest1
|
||||
{
|
||||
[InfoBox("Warning", EInfoBoxType.Warning)]
|
||||
public int warning;
|
||||
|
||||
public InfoBoxNest2 nest2;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class InfoBoxNest2
|
||||
{
|
||||
[InfoBox("Error", EInfoBoxType.Error)]
|
||||
public int error;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user