- Drawer: Added IntToLayerMaskAttribute, if a raw int is wanted instead of LayerMask - Drawer: Added option to either use full or short type name, when using SerializeReferenceTo - Extension: Fixed issue, where GetValueType and GetValue for SerializedProperty would throw exceptions, if field is private
17 lines
391 B
C#
17 lines
391 B
C#
using System;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace Module.Inspector
|
|
{
|
|
#if UNITY_2021_1_OR_NEWER
|
|
[Obsolete]
|
|
#endif
|
|
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
|
public sealed class QuaternionToEulerAttribute : DrawerPropertyAttribute
|
|
{
|
|
[Preserve]
|
|
public QuaternionToEulerAttribute()
|
|
{
|
|
}
|
|
}
|
|
} |