에러 수정
This commit is contained in:
@@ -106,11 +106,11 @@ RectTransform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 8331046284471563056}
|
m_Father: {fileID: 4444559960204675072}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 1, y: 1}
|
m_AnchorMin: {x: 1, y: 1}
|
||||||
m_AnchorMax: {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_SizeDelta: {x: 30, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &2767969458231737201
|
--- !u!222 &2767969458231737201
|
||||||
@@ -228,6 +228,7 @@ RectTransform:
|
|||||||
- {fileID: 2930070536755843644}
|
- {fileID: 2930070536755843644}
|
||||||
- {fileID: 2880675653867137807}
|
- {fileID: 2880675653867137807}
|
||||||
- {fileID: 8331046284471563056}
|
- {fileID: 8331046284471563056}
|
||||||
|
- {fileID: 6115021042724496437}
|
||||||
- {fileID: 7359866927968935575}
|
- {fileID: 7359866927968935575}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
@@ -297,8 +298,7 @@ RectTransform:
|
|||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children: []
|
||||||
- {fileID: 6115021042724496437}
|
|
||||||
m_Father: {fileID: 4444559960204675072}
|
m_Father: {fileID: 4444559960204675072}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
@@ -680,11 +680,11 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 4494893725557815844, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
- target: {fileID: 4494893725557815844, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||||
propertyPath: m_Size
|
propertyPath: m_Size
|
||||||
value: 0.95405984
|
value: 0.95405644
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 4494893725557815844, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
- target: {fileID: 4494893725557815844, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||||
propertyPath: m_Value
|
propertyPath: m_Value
|
||||||
value: 1.0000188
|
value: 1.0000046
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5143485001752436147, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
- target: {fileID: 5143485001752436147, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||||
propertyPath: m_AnchorMax.x
|
propertyPath: m_AnchorMax.x
|
||||||
@@ -724,11 +724,11 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5672874548983414067, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
- target: {fileID: 5672874548983414067, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||||
propertyPath: m_AnchoredPosition.x
|
propertyPath: m_AnchoredPosition.x
|
||||||
value: -12.999816
|
value: -12.999622
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5672874548983414067, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
- target: {fileID: 5672874548983414067, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: 0.0008714628
|
value: 0.0006269596
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||||
propertyPath: m_Pivot.x
|
propertyPath: m_Pivot.x
|
||||||
|
|||||||
@@ -641,7 +641,7 @@ MonoBehaviour:
|
|||||||
m_HandleRect: {fileID: 3131647868451843046}
|
m_HandleRect: {fileID: 3131647868451843046}
|
||||||
m_Direction: 2
|
m_Direction: 2
|
||||||
m_Value: 0
|
m_Value: 0
|
||||||
m_Size: 0.99997723
|
m_Size: 0.9999937
|
||||||
m_NumberOfSteps: 0
|
m_NumberOfSteps: 0
|
||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
@@ -1013,6 +1013,7 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 02c8aba09b6cf79448d6d0699308f932, type: 3}
|
m_Script: {fileID: 11500000, guid: 02c8aba09b6cf79448d6d0699308f932, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
searchInput: {fileID: 1535625050949695824}
|
||||||
onSelect:
|
onSelect:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
@@ -2340,7 +2341,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {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_SizeDelta: {x: 282.99957, y: 2}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &2526589478594582387
|
--- !u!114 &2526589478594582387
|
||||||
|
|||||||
@@ -1175,7 +1175,7 @@ MonoBehaviour:
|
|||||||
m_HandleRect: {fileID: 4926694108229151116}
|
m_HandleRect: {fileID: 4926694108229151116}
|
||||||
m_Direction: 2
|
m_Direction: 2
|
||||||
m_Value: 0
|
m_Value: 0
|
||||||
m_Size: 0.9999946
|
m_Size: 1
|
||||||
m_NumberOfSteps: 0
|
m_NumberOfSteps: 0
|
||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
@@ -2209,6 +2209,7 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 02c8aba09b6cf79448d6d0699308f932, type: 3}
|
m_Script: {fileID: 11500000, guid: 02c8aba09b6cf79448d6d0699308f932, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
searchInput: {fileID: 3750571927763751771}
|
||||||
onSelect:
|
onSelect:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
@@ -2325,7 +2326,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {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_SizeDelta: {x: 282.99957, y: 2}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &685881772641947593
|
--- !u!114 &685881772641947593
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ namespace XED.Hierarchy
|
|||||||
{
|
{
|
||||||
private RectTransform content; // Content RectTransform of the ScrollView.
|
private RectTransform content; // Content RectTransform of the ScrollView.
|
||||||
private CustomScrollRect scrollRect; // ScrollRect component.
|
private CustomScrollRect scrollRect; // ScrollRect component.
|
||||||
|
[SerializeField]
|
||||||
private TMP_InputField searchInput;
|
private TMP_InputField searchInput;
|
||||||
//private Button searchCancelButton;
|
//private Button searchCancelButton;
|
||||||
private GameObject itemPrefab; // Prefab for scroll items.
|
private GameObject itemPrefab; // Prefab for scroll items.
|
||||||
@@ -42,7 +43,10 @@ namespace XED.Hierarchy
|
|||||||
{
|
{
|
||||||
content = UtilityFunction.FindDeepChild(transform, "Content").GetComponent<RectTransform>();
|
content = UtilityFunction.FindDeepChild(transform, "Content").GetComponent<RectTransform>();
|
||||||
scrollRect = GetComponent<CustomScrollRect>();
|
scrollRect = GetComponent<CustomScrollRect>();
|
||||||
searchInput = GetComponentInChildren<TMP_InputField>();
|
if (searchInput == null)
|
||||||
|
{
|
||||||
|
searchInput = GetComponentInChildren<TMP_InputField>();
|
||||||
|
}
|
||||||
//searchCancelButton = UtilityFunction.FindDeepChild(transform, "Button_SearchBar").GetComponent<Button>();
|
//searchCancelButton = UtilityFunction.FindDeepChild(transform, "Button_SearchBar").GetComponent<Button>();
|
||||||
itemPrefab = Resources.Load<GameObject>("Prefabs/UI/PRF_HierarchyItem");
|
itemPrefab = Resources.Load<GameObject>("Prefabs/UI/PRF_HierarchyItem");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user