- Property: `OpenPropertyEditor` adds a "show"-button next to a `ScriptableObject` or `Component` to open a property window - Property: Fixed issue, where x PropertyDrawers would invoke each other x times
16 lines
370 B
C#
16 lines
370 B
C#
#if UNITY_2019_3_OR_NEWER
|
|
using System;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace Module.Inspector
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
|
public sealed class OpenPropertyEditorAttribute : DrawerPropertyAttribute
|
|
{
|
|
[Preserve]
|
|
public OpenPropertyEditorAttribute()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
#endif |