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.
29 lines
471 B
C#
29 lines
471 B
C#
2 months ago
|
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;
|
||
|
}
|
||
|
}
|