Skip to content

Commit

Permalink
Fix SerializedObjectHelperUtils Bug.It makes some depend dont show right
Browse files Browse the repository at this point in the history
  • Loading branch information
dqIndieGames committed Nov 5, 2023
1 parent 31868aa commit e1f807b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private static void GetAllDependAssetsInternal<T>(Object obj, List<T> resultList

// loop serializedObject
var property = serializedObject.GetIterator();
while (property.NextVisible(true))
while (property.Next(true))
{
if (property.propertyType == SerializedPropertyType.ObjectReference)
{
Expand Down
93 changes: 46 additions & 47 deletions UserSettings/Layouts/default-2021.dwlt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 621
width: 363
width: 409
height: 310
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
Expand All @@ -67,14 +67,14 @@ MonoBehaviour:
- {fileID: 2}
m_Position:
serializedVersion: 2
x: 695
x: 673
y: 0
width: 363
width: 409
height: 931
m_MinSize: {x: 100, y: 200}
m_MaxSize: {x: 8096, y: 16192}
vertical: 1
controlID: 205
controlID: 51
--- !u!114 &4
MonoBehaviour:
m_ObjectHideFlags: 52
Expand Down Expand Up @@ -124,7 +124,7 @@ MonoBehaviour:
height: 30
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
m_LastLoadedLayoutName: My2 by 3
m_LastLoadedLayoutName:
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
Expand All @@ -151,7 +151,7 @@ MonoBehaviour:
m_MinSize: {x: 400, y: 200}
m_MaxSize: {x: 32384, y: 16192}
vertical: 0
controlID: 156
controlID: 50
--- !u!114 &7
MonoBehaviour:
m_ObjectHideFlags: 52
Expand Down Expand Up @@ -192,12 +192,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 695
width: 673
height: 931
m_MinSize: {x: 100, y: 200}
m_MaxSize: {x: 8096, y: 16192}
vertical: 1
controlID: 128
controlID: 106
--- !u!114 &9
MonoBehaviour:
m_ObjectHideFlags: 52
Expand All @@ -215,10 +215,10 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 363
width: 409
height: 621
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 15}
m_Panes:
- {fileID: 15}
Expand All @@ -239,9 +239,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1058
x: 1082
y: 0
width: 278
width: 400
height: 931
m_MinSize: {x: 232, y: 271}
m_MaxSize: {x: 10002, y: 10021}
Expand All @@ -265,9 +265,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1336
x: 1482
y: 0
width: 568
width: 422
height: 931
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
Expand All @@ -293,10 +293,10 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 695
width: 673
height: 391
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 19}
m_Panes:
- {fileID: 19}
Expand All @@ -319,7 +319,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 391
width: 695
width: 673
height: 540
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
Expand Down Expand Up @@ -348,9 +348,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 703
x: 681
y: 702
width: 361
width: 407
height: 289
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
Expand All @@ -377,9 +377,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 703
x: 681
y: 81
width: 361
width: 407
height: 600
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
Expand All @@ -389,9 +389,9 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: d88b0000
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 1453ffff4a69ffffbacfffff5ed2ffff90d2ffff7cd8ffff50dbfffff2e5ffffd0edffff38f1ffff1afbffff9e8100000c8200006e820000
m_ExpandedIDs: 649cffff28fbffff
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
Expand Down Expand Up @@ -435,9 +435,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1344
x: 1490
y: 81
width: 567
width: 421
height: 910
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
Expand Down Expand Up @@ -477,9 +477,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1066
x: 1090
y: 81
width: 276
width: 398
height: 910
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
Expand All @@ -496,8 +496,7 @@ MonoBehaviour:
m_ShowAllHits: 0
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/SimpleSpriteSelect/Demo
m_Folders: []
m_Globs: []
m_OriginalText:
m_FilterByTypeIntersection: 0
Expand All @@ -512,7 +511,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 92610000
m_LastClickedID: 24978
m_ExpandedIDs: 000000009a89000000ca9a3bffffff7f
m_ExpandedIDs: 00000000b85d0000ba5d0000bc5d0000be5d0000c05d0000c25d0000c45d0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
Expand Down Expand Up @@ -540,21 +539,21 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: ffffffff000000009a8900009c890000f4890000f88900001e8a00003e8a0000448a000000ca9a3bffffff7f
m_ExpandedIDs: ffffffff00000000b85d0000ba5d0000bc5d0000c05d00007e5f0000865f0000ffffff7f
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
m_OriginalName:
m_Name: SimpleSpriteSelect
m_OriginalName: SimpleSpriteSelect
m_EditFieldRect:
serializedVersion: 2
x: 0
y: 0
width: 0
height: 0
m_UserData: 0
m_UserData: 23996
m_IsWaitingForDelay: 0
m_IsRenaming: 0
m_OriginalEventType: 11
m_OriginalEventType: 0
m_IsRenamingFilename: 1
m_ClientGUIView: {fileID: 10}
m_SearchString:
Expand Down Expand Up @@ -618,7 +617,7 @@ MonoBehaviour:
serializedVersion: 2
x: 8
y: 472
width: 694
width: 672
height: 519
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
Expand All @@ -631,7 +630,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 694, y: 498}
m_TargetSize: {x: 672, y: 498}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
Expand All @@ -646,8 +645,8 @@ MonoBehaviour:
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -347
m_HBaseRangeMax: 347
m_HBaseRangeMin: -336
m_HBaseRangeMax: 336
m_VBaseRangeMin: -249
m_VBaseRangeMax: 249
m_HAllowExceedBaseRangeMin: 1
Expand All @@ -667,23 +666,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
width: 694
width: 672
height: 498
m_Scale: {x: 1, y: 1}
m_Translation: {x: 347, y: 249}
m_Translation: {x: 336, y: 249}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -347
x: -336
y: -249
width: 694
width: 672
height: 498
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 694, y: 519}
m_LastWindowPixelSize: {x: 672, y: 519}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
Expand Down Expand Up @@ -711,7 +710,7 @@ MonoBehaviour:
serializedVersion: 2
x: 8
y: 81
width: 694
width: 672
height: 370
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
Expand Down

0 comments on commit e1f807b

Please sign in to comment.