diff --git a/Assets/Prefabs/UI/Hierarchy.prefab b/Assets/Prefabs/UI/Hierarchy.prefab index b35fc830..1d0b4c0b 100644 --- a/Assets/Prefabs/UI/Hierarchy.prefab +++ b/Assets/Prefabs/UI/Hierarchy.prefab @@ -106,11 +106,11 @@ RectTransform: m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 8331046284471563056} + m_Father: {fileID: 4444559960204675072} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -11.699997, y: -15} + m_AnchoredPosition: {x: -21.699997, y: -20} m_SizeDelta: {x: 30, y: 30} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &2767969458231737201 @@ -228,6 +228,7 @@ RectTransform: - {fileID: 2930070536755843644} - {fileID: 2880675653867137807} - {fileID: 8331046284471563056} + - {fileID: 6115021042724496437} - {fileID: 7359866927968935575} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -297,8 +298,7 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6115021042724496437} + m_Children: [] m_Father: {fileID: 4444559960204675072} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} @@ -680,11 +680,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4494893725557815844, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3} propertyPath: m_Size - value: 0.95405984 + value: 0.95405644 objectReference: {fileID: 0} - target: {fileID: 4494893725557815844, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3} propertyPath: m_Value - value: 1.0000188 + value: 1.0000046 objectReference: {fileID: 0} - target: {fileID: 5143485001752436147, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3} propertyPath: m_AnchorMax.x @@ -724,11 +724,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5672874548983414067, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3} propertyPath: m_AnchoredPosition.x - value: -12.999816 + value: -12.999622 objectReference: {fileID: 0} - target: {fileID: 5672874548983414067, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3} propertyPath: m_AnchoredPosition.y - value: 0.0008714628 + value: 0.0006269596 objectReference: {fileID: 0} - target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3} propertyPath: m_Pivot.x diff --git a/Assets/Prefabs/UI/Panel_AssetLibrary.prefab b/Assets/Prefabs/UI/Panel_AssetLibrary.prefab index 8587eeeb..2c432158 100644 --- a/Assets/Prefabs/UI/Panel_AssetLibrary.prefab +++ b/Assets/Prefabs/UI/Panel_AssetLibrary.prefab @@ -641,7 +641,7 @@ MonoBehaviour: m_HandleRect: {fileID: 3131647868451843046} m_Direction: 2 m_Value: 0 - m_Size: 0.99997723 + m_Size: 0.9999937 m_NumberOfSteps: 0 m_OnValueChanged: m_PersistentCalls: @@ -1013,6 +1013,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 02c8aba09b6cf79448d6d0699308f932, type: 3} m_Name: m_EditorClassIdentifier: + searchInput: {fileID: 1535625050949695824} onSelect: m_PersistentCalls: m_Calls: [] @@ -2340,7 +2341,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: -0.00034048597, y: 0.0001105708} + m_AnchoredPosition: {x: -0.00034048597, y: -0.00001226744} m_SizeDelta: {x: 282.99957, y: 2} m_Pivot: {x: 0, y: 1} --- !u!114 &2526589478594582387 diff --git a/Assets/Prefabs/UI/Panel_InterworkingDataList.prefab b/Assets/Prefabs/UI/Panel_InterworkingDataList.prefab index 707d3002..2bf8da20 100644 --- a/Assets/Prefabs/UI/Panel_InterworkingDataList.prefab +++ b/Assets/Prefabs/UI/Panel_InterworkingDataList.prefab @@ -1175,7 +1175,7 @@ MonoBehaviour: m_HandleRect: {fileID: 4926694108229151116} m_Direction: 2 m_Value: 0 - m_Size: 0.9999946 + m_Size: 1 m_NumberOfSteps: 0 m_OnValueChanged: m_PersistentCalls: @@ -2209,6 +2209,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 02c8aba09b6cf79448d6d0699308f932, type: 3} m_Name: m_EditorClassIdentifier: + searchInput: {fileID: 3750571927763751771} onSelect: m_PersistentCalls: m_Calls: [] @@ -2325,7 +2326,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: -0.00034048597, y: 0.00063419255} + m_AnchoredPosition: {x: -0.00034048597, y: 0.00027677164} m_SizeDelta: {x: 282.99957, y: 2} m_Pivot: {x: 0, y: 1} --- !u!114 &685881772641947593 diff --git a/Assets/Scripts/Studio/UI/TreeView/PooledScrollView.cs b/Assets/Scripts/Studio/UI/TreeView/PooledScrollView.cs index a16df68d..35ef8247 100644 --- a/Assets/Scripts/Studio/UI/TreeView/PooledScrollView.cs +++ b/Assets/Scripts/Studio/UI/TreeView/PooledScrollView.cs @@ -15,6 +15,7 @@ namespace XED.Hierarchy { private RectTransform content; // Content RectTransform of the ScrollView. private CustomScrollRect scrollRect; // ScrollRect component. + [SerializeField] private TMP_InputField searchInput; //private Button searchCancelButton; private GameObject itemPrefab; // Prefab for scroll items. @@ -42,7 +43,10 @@ namespace XED.Hierarchy { content = UtilityFunction.FindDeepChild(transform, "Content").GetComponent(); scrollRect = GetComponent(); - searchInput = GetComponentInChildren(); + if (searchInput == null) + { + searchInput = GetComponentInChildren(); + } //searchCancelButton = UtilityFunction.FindDeepChild(transform, "Button_SearchBar").GetComponent