mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 00:08:53 -05:00
fix: RectOffset not being drawn in Inspector
This commit is contained in:
parent
5fef637954
commit
ac6c5e23ee
@ -17,6 +17,8 @@ namespace Alchemy.Editor.Elements
|
||||
|
||||
switch (property.propertyType)
|
||||
{
|
||||
// NOTE: RectOffset is a generic property type, but it doesn't have a SerializeField. Instead, use PropertyField.
|
||||
case SerializedPropertyType.Generic when property.type == "RectOffset":
|
||||
default:
|
||||
element = new PropertyField(property);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user