Resize 방식 변경 전
This commit is contained in:
@@ -59,7 +59,7 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0, g: 0, b: 0, a: 0.5882353}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
@@ -101,16 +101,16 @@ RectTransform:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 774373496056104532}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4444559960204675072}
|
||||
m_Father: {fileID: 8331046284471563056}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 135, y: -15}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: -11.699997, y: -15}
|
||||
m_SizeDelta: {x: 30, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2767969458231737201
|
||||
@@ -204,15 +204,15 @@ GameObject:
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4444559960204675072}
|
||||
- component: {fileID: 8547313290896608631}
|
||||
- component: {fileID: 7374201767071692113}
|
||||
- component: {fileID: 9089351166348331899}
|
||||
m_Layer: 5
|
||||
m_Name: Hierarchy
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4444559960204675072
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -228,7 +228,6 @@ RectTransform:
|
||||
- {fileID: 2930070536755843644}
|
||||
- {fileID: 2880675653867137807}
|
||||
- {fileID: 8331046284471563056}
|
||||
- {fileID: 6115021042724496437}
|
||||
- {fileID: 7359866927968935575}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -237,18 +236,6 @@ RectTransform:
|
||||
m_AnchoredPosition: {x: -609, y: 154.38245}
|
||||
m_SizeDelta: {x: 300, y: 500}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &8547313290896608631
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4377203108027948534}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fff5d00deb4669e449087f5bc54a42be, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &7374201767071692113
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -263,6 +250,23 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
scrollRect: {fileID: 0}
|
||||
scrollView: {fileID: 0}
|
||||
--- !u!114 &9089351166348331899
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4377203108027948534}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f9c6f8c6f0c462a4ab09d615c0d0db6c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
state: 0
|
||||
resizeDirection: 0
|
||||
handleThickness: 5
|
||||
minWidth: 100
|
||||
minHeight: 100
|
||||
--- !u!1 &5153900539240009752
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -274,6 +278,7 @@ GameObject:
|
||||
- component: {fileID: 8331046284471563056}
|
||||
- component: {fileID: 5483491738458937253}
|
||||
- component: {fileID: 8264446539914379586}
|
||||
- component: {fileID: 7091825816469131137}
|
||||
m_Layer: 5
|
||||
m_Name: Text (TMP)
|
||||
m_TagString: Untagged
|
||||
@@ -292,12 +297,13 @@ RectTransform:
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Children:
|
||||
- {fileID: 6115021042724496437}
|
||||
m_Father: {fileID: 4444559960204675072}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: -15}
|
||||
m_AnchoredPosition: {x: 0, y: -20}
|
||||
m_SizeDelta: {x: -20, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5483491738458937253
|
||||
@@ -399,6 +405,18 @@ MonoBehaviour:
|
||||
m_hasFontAssetChanged: 0
|
||||
m_baseMaterial: {fileID: 0}
|
||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||
--- !u!114 &7091825816469131137
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5153900539240009752}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fa81ed666c3432441a47113a8812fc7c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &5647583068695603879
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -574,11 +592,11 @@ PrefabInstance:
|
||||
m_Modifications:
|
||||
- target: {fileID: 565942144672027292, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 565942144672027292, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 565942144672027292, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
@@ -594,19 +612,19 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1146580140785770680, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1146580140785770680, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: -20
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2439929334114510848, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2439929334114510848, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -20
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2671136523485413361, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_Size
|
||||
@@ -622,19 +640,19 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3853414527505018043, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3853414527505018043, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3853414527505018043, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: -20
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3853414527505018043, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: -20
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4170573619538886698, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_OnSelect.m_PersistentCalls.m_Calls.Array.size
|
||||
@@ -662,11 +680,27 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4494893725557815844, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_Size
|
||||
value: 0.9894008
|
||||
value: 0.95405984
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4494893725557815844, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_Value
|
||||
value: 1.0000204
|
||||
value: 1.0000188
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5143485001752436147, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5143485001752436147, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5143485001752436147, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: -15
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5143485001752436147, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5185907358101567880, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_Maskable
|
||||
@@ -676,13 +710,25 @@ PrefabInstance:
|
||||
propertyPath: m_RaycastTarget
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5298001966367028606, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5298001966367028606, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5298001966367028606, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5672874548983414067, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: -2.9995797
|
||||
value: -12.999816
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5672874548983414067, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0.00056612515
|
||||
value: 0.0008714628
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
@@ -694,27 +740,27 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0.5
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.5
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 300
|
||||
value: -10
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 450
|
||||
value: -59.999996
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5781062250184041115, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
@@ -764,6 +810,22 @@ PrefabInstance:
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7333730248286312492, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7333730248286312492, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7333730248286312492, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7333730248286312492, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7333730248286312492, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 9.9999695
|
||||
@@ -774,15 +836,15 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9188560076206999259, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9188560076206999259, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9188560076206999259, guid: c7fa5154df436e54bb0b444dfc25575d, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0.010599196
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
|
||||
@@ -566,7 +566,7 @@ MonoBehaviour:
|
||||
m_HandleRect: {fileID: 3131647868451843046}
|
||||
m_Direction: 2
|
||||
m_Value: 0
|
||||
m_Size: 1
|
||||
m_Size: 0.9999962
|
||||
m_NumberOfSteps: 0
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
@@ -718,6 +718,7 @@ GameObject:
|
||||
- component: {fileID: 2750379611654410775}
|
||||
- component: {fileID: 4767398228959288287}
|
||||
- component: {fileID: 5754399902217333823}
|
||||
- component: {fileID: 8011292341777573408}
|
||||
m_Layer: 5
|
||||
m_Name: HeaderArea
|
||||
m_TagString: Untagged
|
||||
@@ -784,6 +785,18 @@ MonoBehaviour:
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &8011292341777573408
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2680828541983043885}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fa81ed666c3432441a47113a8812fc7c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &2864033209792206385
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2158,6 +2171,7 @@ GameObject:
|
||||
- component: {fileID: 2790108437195061205}
|
||||
- component: {fileID: 4769853473091310664}
|
||||
- component: {fileID: 4816600667775265712}
|
||||
- component: {fileID: 7155725060116008310}
|
||||
m_Layer: 5
|
||||
m_Name: Panel_AssetLibrary
|
||||
m_TagString: Untagged
|
||||
@@ -2215,6 +2229,23 @@ MonoBehaviour:
|
||||
scrollRect: {fileID: 0}
|
||||
scrollView: {fileID: 0}
|
||||
Button_Close: {fileID: 3059563266845366714}
|
||||
--- !u!114 &7155725060116008310
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7484356029459005624}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f9c6f8c6f0c462a4ab09d615c0d0db6c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
state: 0
|
||||
resizeDirection: 0
|
||||
handleThickness: 5
|
||||
minWidth: 100
|
||||
minHeight: 100
|
||||
--- !u!1 &7549578398549901377
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2249,7 +2280,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.000060821378}
|
||||
m_AnchoredPosition: {x: -0.00034048597, y: 0.00011298662}
|
||||
m_SizeDelta: {x: 282.99957, y: 2}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!114 &2526589478594582387
|
||||
|
||||
@@ -42,7 +42,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 176, y: -380}
|
||||
m_SizeDelta: {x: 320, y: 224}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6666370705478014690
|
||||
CanvasRenderer:
|
||||
@@ -127,9 +127,9 @@ RectTransform:
|
||||
- {fileID: 90668306319274134}
|
||||
m_Father: {fileID: 7377906147476933673}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 160, y: -212}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 320, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1776554155784244456
|
||||
@@ -317,13 +317,14 @@ GameObject:
|
||||
- component: {fileID: 4604531885542700645}
|
||||
- component: {fileID: 8860300361474328287}
|
||||
- component: {fileID: 3149788407635843219}
|
||||
- component: {fileID: 8766087965389442768}
|
||||
m_Layer: 5
|
||||
m_Name: Panel_AssetProperties
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4604531885542700645
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -377,6 +378,23 @@ MonoBehaviour:
|
||||
Text_Creator: {fileID: 0}
|
||||
Text_Manager: {fileID: 0}
|
||||
Button_Close: {fileID: 0}
|
||||
--- !u!114 &8766087965389442768
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1047865254305374389}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f9c6f8c6f0c462a4ab09d615c0d0db6c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
state: 0
|
||||
resizeDirection: 0
|
||||
handleThickness: 5
|
||||
minWidth: 100
|
||||
minHeight: 100
|
||||
--- !u!1 &1123577870573476958
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -411,9 +429,9 @@ RectTransform:
|
||||
- {fileID: 6823096327031659941}
|
||||
m_Father: {fileID: 7377906147476933673}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 160, y: -172}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 320, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2963123695638921052
|
||||
@@ -789,9 +807,9 @@ RectTransform:
|
||||
- {fileID: 6528268655343584753}
|
||||
m_Father: {fileID: 7377906147476933673}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 160, y: -132}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 320, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7107130808870124195
|
||||
@@ -2163,9 +2181,9 @@ RectTransform:
|
||||
- {fileID: 5224381603210020822}
|
||||
m_Father: {fileID: 7377906147476933673}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 160, y: -92}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 320, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2715622645526562456
|
||||
@@ -2240,9 +2258,9 @@ RectTransform:
|
||||
- {fileID: 8174285862379610609}
|
||||
m_Father: {fileID: 7377906147476933673}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 160, y: -52}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 320, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2054733141176595143
|
||||
@@ -2565,6 +2583,7 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 6998202401820620409}
|
||||
- component: {fileID: 248810562213438913}
|
||||
- component: {fileID: 4871362554298437127}
|
||||
m_Layer: 5
|
||||
m_Name: HeaderArea
|
||||
m_TagString: Untagged
|
||||
@@ -2602,6 +2621,18 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8659057095746420587}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &4871362554298437127
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8659057095746420587}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fa81ed666c3432441a47113a8812fc7c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &8712953532054051537
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -3028,9 +3059,9 @@ RectTransform:
|
||||
- {fileID: 2610312420374019012}
|
||||
m_Father: {fileID: 7377906147476933673}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 160, y: -12}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 320, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4297733538370091714
|
||||
|
||||
1644
Assets/Prefabs/UI/Panel_GUIWindowFrame.prefab
Normal file
1644
Assets/Prefabs/UI/Panel_GUIWindowFrame.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Prefabs/UI/Panel_GUIWindowFrame.prefab.meta
Normal file
7
Assets/Prefabs/UI/Panel_GUIWindowFrame.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ed827c6a7c386c47bbf7315193e11ea
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -481,6 +481,7 @@ GameObject:
|
||||
- component: {fileID: 3376261126387050912}
|
||||
- component: {fileID: 1361978878394048592}
|
||||
- component: {fileID: 2268900759512114398}
|
||||
- component: {fileID: 7681854606445320857}
|
||||
m_Layer: 5
|
||||
m_Name: HeaderArea
|
||||
m_TagString: Untagged
|
||||
@@ -547,6 +548,18 @@ MonoBehaviour:
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &7681854606445320857
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1988148229955351493}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fa81ed666c3432441a47113a8812fc7c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &2220390401656658788
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -911,13 +924,14 @@ GameObject:
|
||||
- component: {fileID: 5034127106569237865}
|
||||
- component: {fileID: 3757060209888943725}
|
||||
- component: {fileID: 7997719753715833387}
|
||||
- component: {fileID: 5273856584991472609}
|
||||
m_Layer: 5
|
||||
m_Name: Panel_InterworkingDataList
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &272558446133743867
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -982,6 +996,23 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
prf_LinkDataUI: {fileID: 3588877776299194241, guid: 9f62a52c6a3d48947b57fdd4f941a260, type: 3}
|
||||
body: {fileID: 940260026812176822}
|
||||
--- !u!114 &5273856584991472609
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3225544561127309147}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f9c6f8c6f0c462a4ab09d615c0d0db6c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
state: 0
|
||||
resizeDirection: 0
|
||||
handleThickness: 5
|
||||
minWidth: 100
|
||||
minHeight: 100
|
||||
--- !u!1 &3292359185768907377
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1388,7 +1419,7 @@ RectTransform:
|
||||
m_Father: {fileID: 1131025699729329251}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 2, y: 0}
|
||||
m_SizeDelta: {x: 8, y: 20}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
@@ -2179,6 +2210,7 @@ MonoBehaviour:
|
||||
onParentChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
isSiblingEditable: 0
|
||||
--- !u!1 &7962667019419902432
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
using System.Drawing;
|
||||
using System.Security.Policy;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
@@ -27,7 +25,7 @@ namespace XED.UI
|
||||
None,
|
||||
}
|
||||
|
||||
public class UI_GUIWindow : UIBase, IPointerDownHandler, IPointerEnterHandler
|
||||
public class UI_GUIWindow : UIBase, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, IDragHandler
|
||||
{
|
||||
RectTransform rect;
|
||||
CursorManager cursorManager;
|
||||
@@ -55,6 +53,14 @@ namespace XED.UI
|
||||
{
|
||||
gameObject.AddComponent<RectMask2D>();
|
||||
}
|
||||
|
||||
if (GetComponent<Image>() == null)
|
||||
{
|
||||
gameObject.AddComponent<Image>();
|
||||
}
|
||||
Image raycastImg = GetComponent<Image>();
|
||||
raycastImg.raycastTarget = true;
|
||||
raycastImg.color = Color.clear;
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
@@ -70,25 +76,17 @@ namespace XED.UI
|
||||
|
||||
public void OnPointerDown(PointerEventData eventData)
|
||||
{
|
||||
ResizeDirection handleDirection = GetHandleDirection();
|
||||
if (handleDirection != ResizeDirection.None)
|
||||
{
|
||||
SetResizeState(handleDirection);
|
||||
}
|
||||
SetResizeState(GetHandleDirection());
|
||||
transform.SetAsLastSibling();
|
||||
}
|
||||
|
||||
public void OnPointerEnter(PointerEventData eventData)
|
||||
public void OnPointerUp(PointerEventData eventData)
|
||||
{
|
||||
cursorManager.currentUseGUIWindow = this;
|
||||
InitializeState();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
public void OnDrag(PointerEventData eventData)
|
||||
{
|
||||
if (Input.GetMouseButtonUp(0))
|
||||
{
|
||||
InitializeState();
|
||||
}
|
||||
|
||||
switch (state)
|
||||
{
|
||||
case GUIState.Move:
|
||||
@@ -100,6 +98,11 @@ namespace XED.UI
|
||||
}
|
||||
}
|
||||
|
||||
public void OnPointerEnter(PointerEventData eventData)
|
||||
{
|
||||
cursorManager.currentUseGUIWindow = this;
|
||||
}
|
||||
|
||||
public ResizeDirection GetHandleDirection()
|
||||
{
|
||||
Vector2 localPoint;
|
||||
@@ -139,6 +142,12 @@ namespace XED.UI
|
||||
|
||||
void SetResizeState(ResizeDirection dir)
|
||||
{
|
||||
if (dir == ResizeDirection.None)
|
||||
{
|
||||
Debug.Log("None");
|
||||
return;
|
||||
}
|
||||
|
||||
initialMousePos = Input.mousePosition;
|
||||
initialSize = rect.sizeDelta;
|
||||
initialPivot = rect.pivot;
|
||||
|
||||
Reference in New Issue
Block a user