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

29 lines
502 B
C#

using UnityEngine;
namespace NaughtyAttributes.Test
{
public class ExpandableTest : MonoBehaviour
{
[Expandable]
public ScriptableObject obj0;
public ExpandableScriptableObjectNest1 nest1;
}
[System.Serializable]
public class ExpandableScriptableObjectNest1
{
[Expandable]
public ScriptableObject obj1;
public ExpandableScriptableObjectNest2 nest2;
}
[System.Serializable]
public class ExpandableScriptableObjectNest2
{
[Expandable]
public ScriptableObject obj2;
}
}