Skip to content

Commit a754a2d

Browse files
authored
Merge pull request #2 from VPDPersonal/Bug/Fix-AssetPath-In-Prefab-Mode
Fix If
2 parents d5b0922 + c6b3903 commit a754a2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Editor/Dropdown/SerializeReferencePropertyDrawer_UIToolkit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void RefreshDropdown(SerializedObject so)
162162

163163
var isMissingType = false;
164164

165-
if (string.IsNullOrEmpty(assetPath))
165+
if (!string.IsNullOrEmpty(assetPath))
166166
{
167167
isMissingType = TryGetMissingType(property, assetPath, out var missingType);
168168

0 commit comments

Comments
 (0)