Skip to content

Instantly share code, notes, and snippets.

@RedDude
Created July 8, 2018 04:50
Show Gist options
  • Select an option

  • Save RedDude/886f11a65f0e5b3249e3f285fffff234 to your computer and use it in GitHub Desktop.

Select an option

Save RedDude/886f11a65f0e5b3249e3f285fffff234 to your computer and use it in GitHub Desktop.
ExpandableAttribute Unity
using UnityEngine;
/// <summary>
/// Use this property on a ScriptableObject type to allow the editors drawing the field to draw an expandable
/// area that allows for changing the values on the object without having to change editor.
/// </summary>
public class ExpandableAttribute : PropertyAttribute
{
public ExpandableAttribute()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment