mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 08:18:51 -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)
|
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:
|
default:
|
||||||
element = new PropertyField(property);
|
element = new PropertyField(property);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user