미니맵
This commit is contained in:
1755
Assets/Prefabs/UI/Panel_MiniMap.prefab
Normal file
1755
Assets/Prefabs/UI/Panel_MiniMap.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Prefabs/UI/Panel_MiniMap.prefab.meta
Normal file
7
Assets/Prefabs/UI/Panel_MiniMap.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 49afc3b97a3ae16449e6734a02b94563
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
661
Assets/Resources/Prefabs/UI/PRF_MiniMapHeightButton.prefab
Normal file
661
Assets/Resources/Prefabs/UI/PRF_MiniMapHeightButton.prefab
Normal file
@@ -0,0 +1,661 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &1624960775984063655
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4287680761148416381}
|
||||||
|
- component: {fileID: 2791558807024285312}
|
||||||
|
- component: {fileID: 6097921098499886291}
|
||||||
|
- component: {fileID: 2646666230379838549}
|
||||||
|
- component: {fileID: 7614958021490367907}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: PRF_MiniMapHeightButton
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4287680761148416381
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1624960775984063655}
|
||||||
|
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:
|
||||||
|
- {fileID: 967796023218406461}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
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: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 20, y: 20}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &2791558807024285312
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1624960775984063655}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &6097921098499886291
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1624960775984063655}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.7264151, g: 0, b: 0.09617115, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: c28e8dd6cdfbc481ca2415e9f982dd47, type: 3}
|
||||||
|
m_Type: 1
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &2646666230379838549
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1624960775984063655}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 6097921098499886291}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
--- !u!114 &7614958021490367907
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1624960775984063655}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 8a796422557daa943a129b1a6a0fb193, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
panel_MiniMap: {fileID: 0}
|
||||||
|
minMaxButton: 0
|
||||||
|
--- !u!1 &1771069477202990838
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 967796023218406461}
|
||||||
|
- component: {fileID: 4181073585895937750}
|
||||||
|
- component: {fileID: 6116735446588861750}
|
||||||
|
- component: {fileID: 2105278582555601121}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: InputField (TMP)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &967796023218406461
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1771069477202990838}
|
||||||
|
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:
|
||||||
|
- {fileID: 5728784547465946048}
|
||||||
|
m_Father: {fileID: 4287680761148416381}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 1, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 1, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 20, y: 0}
|
||||||
|
m_SizeDelta: {x: 40, y: 20}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &4181073585895937750
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1771069477202990838}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &6116735446588861750
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1771069477202990838}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Type: 1
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &2105278582555601121
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1771069477202990838}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 6116735446588861750}
|
||||||
|
m_TextViewport: {fileID: 5728784547465946048}
|
||||||
|
m_TextComponent: {fileID: 4646960999428650778}
|
||||||
|
m_Placeholder: {fileID: 5473987463100919373}
|
||||||
|
m_VerticalScrollbar: {fileID: 0}
|
||||||
|
m_VerticalScrollbarEventHandler: {fileID: 0}
|
||||||
|
m_LayoutGroup: {fileID: 0}
|
||||||
|
m_ScrollSensitivity: 1
|
||||||
|
m_ContentType: 3
|
||||||
|
m_InputType: 0
|
||||||
|
m_AsteriskChar: 42
|
||||||
|
m_KeyboardType: 2
|
||||||
|
m_LineType: 0
|
||||||
|
m_HideMobileInput: 0
|
||||||
|
m_HideSoftKeyboard: 0
|
||||||
|
m_CharacterValidation: 3
|
||||||
|
m_RegexValue:
|
||||||
|
m_GlobalPointSize: 10
|
||||||
|
m_CharacterLimit: 0
|
||||||
|
m_OnEndEdit:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_OnSubmit:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_OnSelect:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_OnDeselect:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_OnTextSelection:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_OnEndTextSelection:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_OnValueChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_OnTouchScreenKeyboardStatusChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||||
|
m_CustomCaretColor: 0
|
||||||
|
m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
|
||||||
|
m_Text: 0
|
||||||
|
m_CaretBlinkRate: 0.85
|
||||||
|
m_CaretWidth: 1
|
||||||
|
m_ReadOnly: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_GlobalFontAsset: {fileID: 11400000, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||||
|
m_OnFocusSelectAll: 1
|
||||||
|
m_ResetOnDeActivation: 1
|
||||||
|
m_KeepTextSelectionVisible: 0
|
||||||
|
m_RestoreOriginalTextOnEscape: 1
|
||||||
|
m_isRichTextEditingAllowed: 0
|
||||||
|
m_LineLimit: 0
|
||||||
|
isAlert: 0
|
||||||
|
m_InputValidator: {fileID: 0}
|
||||||
|
m_ShouldActivateOnSelect: 1
|
||||||
|
--- !u!1 &2818566249517056594
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6565140643718176787}
|
||||||
|
- component: {fileID: 784543568115342635}
|
||||||
|
- component: {fileID: 5473987463100919373}
|
||||||
|
- component: {fileID: 8354294828390194674}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Placeholder
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6565140643718176787
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2818566249517056594}
|
||||||
|
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: 5728784547465946048}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &784543568115342635
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2818566249517056594}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5473987463100919373
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2818566249517056594}
|
||||||
|
m_Enabled: 0
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: Enter text...
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: 6975767319296004534, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 2150773298
|
||||||
|
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 10
|
||||||
|
m_fontSizeBase: 10
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 2
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_TextWrappingMode: 0
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 0
|
||||||
|
m_linkedTextComponent: {fileID: 0}
|
||||||
|
parentLinkedComponent: {fileID: 0}
|
||||||
|
m_enableKerning: 0
|
||||||
|
m_ActiveFontFeatures: 6e72656b
|
||||||
|
m_enableExtraPadding: 1
|
||||||
|
checkPaddingRequired: 0
|
||||||
|
m_isRichText: 1
|
||||||
|
m_EmojiFallbackSupport: 1
|
||||||
|
m_parseCtrlCharacters: 1
|
||||||
|
m_isOrthographic: 1
|
||||||
|
m_isCullingEnabled: 0
|
||||||
|
m_horizontalMapping: 0
|
||||||
|
m_verticalMapping: 0
|
||||||
|
m_uvLineOffset: 0
|
||||||
|
m_geometrySortingOrder: 0
|
||||||
|
m_IsTextObjectScaleStatic: 0
|
||||||
|
m_VertexBufferAutoSizeReduction: 0
|
||||||
|
m_useMaxVisibleDescender: 1
|
||||||
|
m_pageToDisplay: 1
|
||||||
|
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_isUsingLegacyAnimationComponent: 0
|
||||||
|
m_isVolumetricText: 0
|
||||||
|
m_hasFontAssetChanged: 0
|
||||||
|
m_baseMaterial: {fileID: 0}
|
||||||
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
--- !u!114 &8354294828390194674
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2818566249517056594}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_IgnoreLayout: 1
|
||||||
|
m_MinWidth: -1
|
||||||
|
m_MinHeight: -1
|
||||||
|
m_PreferredWidth: -1
|
||||||
|
m_PreferredHeight: -1
|
||||||
|
m_FlexibleWidth: -1
|
||||||
|
m_FlexibleHeight: -1
|
||||||
|
m_LayoutPriority: 1
|
||||||
|
--- !u!1 &4488624340892178284
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5728784547465946048}
|
||||||
|
- component: {fileID: 7113123609657141425}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Text Area
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5728784547465946048
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4488624340892178284}
|
||||||
|
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:
|
||||||
|
- {fileID: 6565140643718176787}
|
||||||
|
- {fileID: 6649455499193573884}
|
||||||
|
m_Father: {fileID: 967796023218406461}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: -20, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &7113123609657141425
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4488624340892178284}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Padding: {x: -8, y: -5, z: -8, w: -5}
|
||||||
|
m_Softness: {x: 0, y: 0}
|
||||||
|
--- !u!1 &6665390441385448593
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6649455499193573884}
|
||||||
|
- component: {fileID: 1019036969981583664}
|
||||||
|
- component: {fileID: 4646960999428650778}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Text
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6649455499193573884
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6665390441385448593}
|
||||||
|
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: 5728784547465946048}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1019036969981583664
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6665390441385448593}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &4646960999428650778
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6665390441385448593}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: "0\u200B"
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: 6975767319296004534, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4281479730
|
||||||
|
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 10
|
||||||
|
m_fontSizeBase: 10
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 0
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_TextWrappingMode: 3
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 0
|
||||||
|
m_linkedTextComponent: {fileID: 0}
|
||||||
|
parentLinkedComponent: {fileID: 0}
|
||||||
|
m_enableKerning: 0
|
||||||
|
m_ActiveFontFeatures: 6e72656b
|
||||||
|
m_enableExtraPadding: 1
|
||||||
|
checkPaddingRequired: 0
|
||||||
|
m_isRichText: 1
|
||||||
|
m_EmojiFallbackSupport: 1
|
||||||
|
m_parseCtrlCharacters: 1
|
||||||
|
m_isOrthographic: 1
|
||||||
|
m_isCullingEnabled: 0
|
||||||
|
m_horizontalMapping: 0
|
||||||
|
m_verticalMapping: 0
|
||||||
|
m_uvLineOffset: 0
|
||||||
|
m_geometrySortingOrder: 0
|
||||||
|
m_IsTextObjectScaleStatic: 0
|
||||||
|
m_VertexBufferAutoSizeReduction: 0
|
||||||
|
m_useMaxVisibleDescender: 1
|
||||||
|
m_pageToDisplay: 1
|
||||||
|
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_isUsingLegacyAnimationComponent: 0
|
||||||
|
m_isVolumetricText: 0
|
||||||
|
m_hasFontAssetChanged: 0
|
||||||
|
m_baseMaterial: {fileID: 0}
|
||||||
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2d2391b6ab0863440acf5fa1856b52eb
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -2679,6 +2679,7 @@ RectTransform:
|
|||||||
- {fileID: 1712022043}
|
- {fileID: 1712022043}
|
||||||
- {fileID: 1229281891}
|
- {fileID: 1229281891}
|
||||||
- {fileID: 1195713950}
|
- {fileID: 1195713950}
|
||||||
|
- {fileID: 1569653763}
|
||||||
m_Father: {fileID: 1981809316}
|
m_Father: {fileID: 1981809316}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
@@ -9052,6 +9053,111 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, type: 3}
|
m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
--- !u!1001 &1437179207
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 545811781}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 5230207285068111429, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 560
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 608
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7341879220365949940, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Panel_MiniMap
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9023725169392501320, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
--- !u!1001 &1439596646
|
--- !u!1001 &1439596646
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -9572,6 +9678,11 @@ CanvasRenderer:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1567715605}
|
m_GameObject: {fileID: 1567715605}
|
||||||
m_CullTransparentMesh: 0
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!224 &1569653763 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 6967874420970499432, guid: 49afc3b97a3ae16449e6734a02b94563, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 1437179207}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1001 &1572491609
|
--- !u!1001 &1572491609
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
68
Assets/Scripts/Studio/UI/Elements/UI_MiniMapHeightButton.cs
Normal file
68
Assets/Scripts/Studio/UI/Elements/UI_MiniMapHeightButton.cs
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
using TMPro;
|
||||||
|
using UnityEditor.Localization.Plugins.XLIFF.V20;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using XRLib.UI;
|
||||||
|
|
||||||
|
namespace XED.UI
|
||||||
|
{
|
||||||
|
public class UI_MiniMapHeightButton : UIBase
|
||||||
|
{
|
||||||
|
public Panel_MiniMap panel_MiniMap;
|
||||||
|
|
||||||
|
RectTransform rect;
|
||||||
|
TMP_InputField inputField;
|
||||||
|
|
||||||
|
public float heightValue;
|
||||||
|
public bool minMaxButton;
|
||||||
|
|
||||||
|
public override void AfterAwake()
|
||||||
|
{
|
||||||
|
rect = GetComponent<RectTransform>();
|
||||||
|
GetComponent<Button>().onClick.AddListener(OnClickButton);
|
||||||
|
inputField = GetComponentInChildren<TMP_InputField>();
|
||||||
|
inputField.onEndEdit.AddListener(OnEndEdit);
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnClickButton()
|
||||||
|
{
|
||||||
|
panel_MiniMap.ChangeImageForButton(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnEndEdit(string input)
|
||||||
|
{
|
||||||
|
float.TryParse(input, out float value);
|
||||||
|
if (value <= panel_MiniMap.barMinHeight || value >= panel_MiniMap.barMaxHeight)
|
||||||
|
{
|
||||||
|
value = heightValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateHeight(value);
|
||||||
|
panel_MiniMap.ChangeNewImage(this, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void UpdateHeight(float value)
|
||||||
|
{
|
||||||
|
heightValue = value;
|
||||||
|
|
||||||
|
SetHeightText(value);
|
||||||
|
SetButtonPos(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetHeightText(float value)
|
||||||
|
{
|
||||||
|
int textValue = Mathf.RoundToInt(value);
|
||||||
|
inputField.text = textValue.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetButtonPos(float value)
|
||||||
|
{
|
||||||
|
if (minMaxButton)
|
||||||
|
return;
|
||||||
|
|
||||||
|
float yPos = value / panel_MiniMap.unit;
|
||||||
|
|
||||||
|
rect.anchoredPosition = new Vector2(0, yPos);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8a796422557daa943a129b1a6a0fb193
|
||||||
226
Assets/Scripts/Studio/UI/Panel/Panel_MiniMap.cs
Normal file
226
Assets/Scripts/Studio/UI/Panel/Panel_MiniMap.cs
Normal file
@@ -0,0 +1,226 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using TMPro;
|
||||||
|
using UnityEditor.Animations;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using XRLib;
|
||||||
|
using XRLib.UI;
|
||||||
|
|
||||||
|
namespace XED.UI
|
||||||
|
{
|
||||||
|
public class Panel_MiniMap : PanelBase
|
||||||
|
{
|
||||||
|
Camera target;
|
||||||
|
|
||||||
|
RectTransform MiniMapScreen;
|
||||||
|
RectTransform Image_MiniMapIcon;
|
||||||
|
RectTransform HeightSelectBar;
|
||||||
|
RectTransform MiniMapHeightButtons;
|
||||||
|
Slider ZoomSlider;
|
||||||
|
|
||||||
|
Vector2 worldMin;
|
||||||
|
Vector2 worldMax;
|
||||||
|
|
||||||
|
public float unit;
|
||||||
|
float mapRange = 250;
|
||||||
|
public float barMaxHeight;
|
||||||
|
public float barMinHeight;
|
||||||
|
|
||||||
|
int captureImageWidth = 512;
|
||||||
|
int captureImageHeight = 512;
|
||||||
|
|
||||||
|
public UI_MiniMapHeightButton MiniMapHeightButton_Max;
|
||||||
|
public UI_MiniMapHeightButton MiniMapHeightButton_Min;
|
||||||
|
UI_MiniMapHeightButton miniMapHeightButtonPrefab;
|
||||||
|
|
||||||
|
public Dictionary<UI_MiniMapHeightButton, Texture2D> capturedImages = new();
|
||||||
|
|
||||||
|
private float lastClickTime = 0f;
|
||||||
|
private float doubleClickThreshold = 0.3f;
|
||||||
|
|
||||||
|
public override void AfterAwake()
|
||||||
|
{
|
||||||
|
miniMapHeightButtonPrefab = Resources.Load<UI_MiniMapHeightButton>("Prefabs/UI/PRF_MiniMapHeightButton");
|
||||||
|
|
||||||
|
target = Camera.main;
|
||||||
|
ZoomSlider.onValueChanged.AddListener(OnSliderValueChanged);
|
||||||
|
|
||||||
|
worldMin = new Vector2(-mapRange, -mapRange);
|
||||||
|
worldMax = new Vector2(mapRange, mapRange);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnEnable()
|
||||||
|
{
|
||||||
|
UpdateMiniMap();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Update()
|
||||||
|
{
|
||||||
|
UpdateMiniMapIcon();
|
||||||
|
|
||||||
|
if (Input.GetMouseButtonDown(0) && RectTransformUtility.RectangleContainsScreenPoint(HeightSelectBar, Input.mousePosition, null))
|
||||||
|
{
|
||||||
|
RectTransformUtility.ScreenPointToLocalPointInRectangle(
|
||||||
|
HeightSelectBar, Input.mousePosition, null, out Vector2 localPoint);
|
||||||
|
|
||||||
|
if (Time.time - lastClickTime < doubleClickThreshold)
|
||||||
|
{
|
||||||
|
float normalizedY = Mathf.InverseLerp(
|
||||||
|
-HeightSelectBar.rect.height / 2f,
|
||||||
|
HeightSelectBar.rect.height / 2f,
|
||||||
|
localPoint.y
|
||||||
|
);
|
||||||
|
|
||||||
|
var newButton = CreateMiniMapHeightButton();
|
||||||
|
|
||||||
|
float yPos = Mathf.Lerp(0, HeightSelectBar.rect.height, normalizedY);
|
||||||
|
float height = yPos * unit;
|
||||||
|
newButton.UpdateHeight(height);
|
||||||
|
|
||||||
|
StartCoroutine(CaptureImageAtHeight(newButton, height));
|
||||||
|
}
|
||||||
|
|
||||||
|
lastClickTime = Time.time;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateMiniMapIcon()
|
||||||
|
{
|
||||||
|
Vector2 worldPos = new Vector2(target.transform.position.x, target.transform.position.z);
|
||||||
|
Vector2 normalizedPos = (worldPos - worldMin) / (worldMax - worldMin);
|
||||||
|
|
||||||
|
RectTransform miniMapRect = MiniMapScreen.GetComponent<RectTransform>();
|
||||||
|
Vector2 miniMapSize = miniMapRect.rect.size;
|
||||||
|
Vector2 iconPos = new Vector2(
|
||||||
|
(normalizedPos.x * miniMapSize.x) - (miniMapSize.x * 0.5f),
|
||||||
|
(normalizedPos.y * miniMapSize.y) - (miniMapSize.y * 0.5f)
|
||||||
|
);
|
||||||
|
|
||||||
|
Image_MiniMapIcon.anchoredPosition = iconPos;
|
||||||
|
|
||||||
|
float cameraRotateY = Camera.main.transform.eulerAngles.y;
|
||||||
|
Image_MiniMapIcon.localEulerAngles = new Vector3(0, 0, -cameraRotateY);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void UpdateMiniMap()
|
||||||
|
{
|
||||||
|
TwinObject[] twinObjects = FindObjectsByType<TwinObject>(FindObjectsSortMode.None);
|
||||||
|
|
||||||
|
if (twinObjects.Length == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
|
float maxHeight = float.MinValue;
|
||||||
|
float minHeight = float.MaxValue;
|
||||||
|
|
||||||
|
foreach (var twinObject in twinObjects)
|
||||||
|
{
|
||||||
|
Renderer[] renderers = twinObject.GetComponentsInChildren<Renderer>();
|
||||||
|
|
||||||
|
foreach (Renderer renderer in renderers)
|
||||||
|
{
|
||||||
|
Bounds bounds = renderer.bounds;
|
||||||
|
|
||||||
|
float maxY = bounds.max.y;
|
||||||
|
float minY = bounds.min.y;
|
||||||
|
|
||||||
|
maxHeight = Mathf.Max(maxY, maxHeight);
|
||||||
|
minHeight = Mathf.Min(minY, minHeight);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
barMaxHeight = maxHeight;
|
||||||
|
barMinHeight = minHeight;
|
||||||
|
unit = (maxHeight - minHeight) / HeightSelectBar.rect.height;
|
||||||
|
UpdateAllButtons(minHeight, maxHeight);
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateAllButtons(float min, float max)
|
||||||
|
{
|
||||||
|
MiniMapHeightButton_Min.UpdateHeight(min);
|
||||||
|
MiniMapHeightButton_Max.UpdateHeight(max);
|
||||||
|
|
||||||
|
foreach (Transform child in MiniMapHeightButtons)
|
||||||
|
{
|
||||||
|
UI_MiniMapHeightButton button = child.GetComponent<UI_MiniMapHeightButton>();
|
||||||
|
|
||||||
|
ChangeNewImage(button, button.heightValue);
|
||||||
|
button.SetButtonPos(button.heightValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
ChangeNewImage(MiniMapHeightButton_Max, MiniMapHeightButton_Max.heightValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
UI_MiniMapHeightButton CreateMiniMapHeightButton()
|
||||||
|
{
|
||||||
|
UI_MiniMapHeightButton newButton = Instantiate(miniMapHeightButtonPrefab, MiniMapHeightButtons.transform);
|
||||||
|
newButton.panel_MiniMap = this;
|
||||||
|
|
||||||
|
RectTransform newButtonRect = newButton.GetComponent<RectTransform>();
|
||||||
|
|
||||||
|
newButtonRect.anchorMin = new Vector2(0.5f, 0f);
|
||||||
|
newButtonRect.anchorMax = new Vector2(0.5f, 0f);
|
||||||
|
newButtonRect.pivot = new Vector2(0.5f, 0.5f);
|
||||||
|
|
||||||
|
return newButton;
|
||||||
|
}
|
||||||
|
|
||||||
|
IEnumerator CaptureImageAtHeight(UI_MiniMapHeightButton button, float height)
|
||||||
|
{
|
||||||
|
GameObject camObj = new GameObject("MiniMapCaptureCam");
|
||||||
|
Camera captureCam = camObj.AddComponent<Camera>();
|
||||||
|
captureCam.orthographic = true;
|
||||||
|
captureCam.orthographicSize = 50f;
|
||||||
|
captureCam.clearFlags = CameraClearFlags.SolidColor;
|
||||||
|
captureCam.backgroundColor = Color.clear;
|
||||||
|
|
||||||
|
camObj.transform.position = new Vector3(0f, height, 0f);
|
||||||
|
camObj.transform.rotation = Quaternion.Euler(90f, 0f, 0f);
|
||||||
|
|
||||||
|
RenderTexture rt = new RenderTexture(captureImageWidth, captureImageHeight, 16);
|
||||||
|
captureCam.targetTexture = rt;
|
||||||
|
|
||||||
|
yield return new WaitForEndOfFrame();
|
||||||
|
|
||||||
|
RenderTexture.active = rt;
|
||||||
|
Texture2D tex = new Texture2D(captureImageWidth, captureImageHeight, TextureFormat.RGBA32, false);
|
||||||
|
tex.ReadPixels(new Rect(0, 0, captureImageWidth, captureImageHeight), 0, 0);
|
||||||
|
tex.Apply();
|
||||||
|
|
||||||
|
capturedImages[button] = tex;
|
||||||
|
ChangeImageForButton(button);
|
||||||
|
|
||||||
|
captureCam.targetTexture = null;
|
||||||
|
RenderTexture.active = null;
|
||||||
|
Destroy(rt);
|
||||||
|
Destroy(camObj);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ChangeNewImage(UI_MiniMapHeightButton button, float height)
|
||||||
|
{
|
||||||
|
if (capturedImages.TryGetValue(button, out var texture))
|
||||||
|
{
|
||||||
|
if (texture != null)
|
||||||
|
Destroy(texture);
|
||||||
|
}
|
||||||
|
capturedImages.Remove(button);
|
||||||
|
StartCoroutine(CaptureImageAtHeight(button, height));
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ChangeImageForButton(UI_MiniMapHeightButton button)
|
||||||
|
{
|
||||||
|
if (capturedImages.TryGetValue(button, out Texture2D tex))
|
||||||
|
{
|
||||||
|
MiniMapScreen.GetComponent<RawImage>().texture = tex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnSliderValueChanged(float value)
|
||||||
|
{
|
||||||
|
float offset = Mathf.Lerp(0, mapRange, value);
|
||||||
|
|
||||||
|
MiniMapScreen.offsetMin = new Vector2(-offset, -offset);
|
||||||
|
MiniMapScreen.offsetMax = new Vector2(offset, offset);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2
Assets/Scripts/Studio/UI/Panel/Panel_MiniMap.cs.meta
Normal file
2
Assets/Scripts/Studio/UI/Panel/Panel_MiniMap.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 932329c6b43686045bae5b6e643dec57
|
||||||
Reference in New Issue
Block a user