mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2026-04-21 20:15:56 +08:00
fix
This commit is contained in:
parent
8ea93f4405
commit
c21cce34b1
@ -904,7 +904,11 @@ namespace DCFApixels.DragonECS.Unity.Editors
|
||||
}
|
||||
internal static bool IsNullManagedReference(this SerializedProperty property)
|
||||
{
|
||||
#if UNITY_2021_3_OR_NEWER
|
||||
return property.managedReferenceId == ManagedReferenceUtility.RefIdNull;
|
||||
#else
|
||||
return property.managedReferenceId == SerializationUtility.RefIdNull;
|
||||
#endif
|
||||
}
|
||||
internal static int GetChildPropertiesCount(this SerializedProperty property, Type type, out bool isEmpty)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user