mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-27 01:48:06 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33f8f40399 | ||
|
|
ab24b6ab14 | ||
|
|
55fc5504a5 | ||
|
|
a223a0ea1d | ||
|
|
d328f26c1f | ||
|
|
0419a4bbd7 | ||
|
|
88a5db3420 | ||
|
|
753c8baec5 |
No files matched your search
@@ -742,6 +742,98 @@ MonoBehaviour:
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
--- !u!1 &1068814553943175880
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5410031784572721844}
|
||||
- component: {fileID: 3493813823642221404}
|
||||
- component: {fileID: 3796471163557128307}
|
||||
- component: {fileID: 4478862107029838796}
|
||||
m_Layer: 5
|
||||
m_Name: MiniMapMask
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &5410031784572721844
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1068814553943175880}
|
||||
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: 6951641552492402209}
|
||||
- {fileID: 974348369154778032}
|
||||
- {fileID: 6443290836517620259}
|
||||
m_Father: {fileID: 7350756724496538233}
|
||||
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 &3493813823642221404
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1068814553943175880}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3796471163557128307
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1068814553943175880}
|
||||
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.23529412, g: 0.23529412, b: 0.23529412, a: 0.5882353}
|
||||
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: c171273b4d327f14d8016fcbe864a769, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 1
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &4478862107029838796
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1068814553943175880}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_ShowMaskGraphic: 1
|
||||
--- !u!1 &1072376929947732500
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1165,6 +1257,215 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
m_HorizontalFit: 2
|
||||
m_VerticalFit: 0
|
||||
--- !u!1 &1529687762252564350
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6951641552492402209}
|
||||
- component: {fileID: 6848605958813857341}
|
||||
- component: {fileID: 3233777883530175225}
|
||||
m_Layer: 5
|
||||
m_Name: MiniMap
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &6951641552492402209
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1529687762252564350}
|
||||
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: 5410031784572721844}
|
||||
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 &6848605958813857341
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1529687762252564350}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3233777883530175225
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1529687762252564350}
|
||||
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: 0}
|
||||
m_Type: 0
|
||||
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!1 &1539062498480150335
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6443290836517620259}
|
||||
- component: {fileID: 8966763267756312113}
|
||||
- component: {fileID: 2242461727543077469}
|
||||
m_Layer: 5
|
||||
m_Name: North
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &6443290836517620259
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1539062498480150335}
|
||||
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: 5410031784572721844}
|
||||
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: -10}
|
||||
m_SizeDelta: {x: 200, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!222 &8966763267756312113
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1539062498480150335}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &2242461727543077469
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1539062498480150335}
|
||||
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: N
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
|
||||
m_sharedMaterial: {fileID: 2847917559404452115, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontColor: {r: 1, g: 1, b: 1, 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: 25
|
||||
m_fontSizeBase: 25
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 2
|
||||
m_VerticalAlignment: 256
|
||||
m_textAlignment: 65535
|
||||
m_characterSpacing: 0
|
||||
m_wordSpacing: 0
|
||||
m_lineSpacing: 0
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
m_enableWordWrapping: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 1
|
||||
m_enableExtraPadding: 0
|
||||
checkPaddingRequired: 0
|
||||
m_isRichText: 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!1 &1792442932885571784
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1424,7 +1725,8 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
blurAmount: 4
|
||||
cornerRadius: 65
|
||||
transparency: 1
|
||||
cornerRadius: 40
|
||||
additiveTintColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
multiplyTintColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||
image: {fileID: 6514349001384511054}
|
||||
@@ -1750,6 +2052,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
blurAmount: 3
|
||||
transparency: 1
|
||||
cornerRadius: 35
|
||||
additiveTintColor: {r: 0.039215688, g: 0.039215688, b: 0.039215688, a: 1}
|
||||
multiplyTintColor: {r: 0.54901963, g: 0.54901963, b: 0.54901963, a: 1}
|
||||
@@ -1815,7 +2118,7 @@ Canvas:
|
||||
m_AdditionalShaderChannelsFlag: 0
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2000
|
||||
m_TargetDisplay: 0
|
||||
--- !u!114 &7513262873870597287
|
||||
MonoBehaviour:
|
||||
@@ -2488,7 +2791,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: -160, y: -50}
|
||||
m_SizeDelta: {x: -130, y: -50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &280950566019251211
|
||||
CanvasRenderer:
|
||||
@@ -2621,8 +2924,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 117.5, y: 0}
|
||||
m_SizeDelta: {x: -395, y: -50}
|
||||
m_AnchoredPosition: {x: 125, y: 0}
|
||||
m_SizeDelta: {x: -380, y: -50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8762462625390650021
|
||||
CanvasRenderer:
|
||||
@@ -2721,6 +3024,81 @@ MonoBehaviour:
|
||||
m_hasFontAssetChanged: 0
|
||||
m_baseMaterial: {fileID: 0}
|
||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||
--- !u!1 &3912877267018750766
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5982019098981716749}
|
||||
- component: {fileID: 8525532973604909342}
|
||||
- component: {fileID: 5537344167455247235}
|
||||
m_Layer: 0
|
||||
m_Name: LogoImage
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &5982019098981716749
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3912877267018750766}
|
||||
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: 4424067051843665300}
|
||||
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: 40}
|
||||
m_SizeDelta: {x: -100, y: -320}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8525532973604909342
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3912877267018750766}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &5537344167455247235
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3912877267018750766}
|
||||
m_Enabled: 0
|
||||
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: 0}
|
||||
m_Type: 0
|
||||
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!1 &4019625783496967727
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -3037,6 +3415,55 @@ MonoBehaviour:
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &6058682791376528600
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7350756724496538233}
|
||||
- component: {fileID: 1880652245593453315}
|
||||
m_Layer: 5
|
||||
m_Name: MiniMapCanvasGroup
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7350756724496538233
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6058682791376528600}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0.98643047, y: 0.98643047, z: 0.98643047}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 5410031784572721844}
|
||||
m_Father: {fileID: 5749901358741972170}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 260, y: -210}
|
||||
m_SizeDelta: {x: 280, y: 280}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!225 &1880652245593453315
|
||||
CanvasGroup:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6058682791376528600}
|
||||
m_Enabled: 1
|
||||
m_Alpha: 1
|
||||
m_Interactable: 0
|
||||
m_BlocksRaycasts: 1
|
||||
m_IgnoreParentGroups: 0
|
||||
--- !u!1 &6150997775345773667
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -3327,10 +3754,384 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
blurAmount: 3
|
||||
transparency: 1
|
||||
cornerRadius: 20
|
||||
additiveTintColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
multiplyTintColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||
image: {fileID: 4638320210657625687}
|
||||
--- !u!1 &6400366477307100862
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4424067051843665300}
|
||||
- component: {fileID: 8242335661705898145}
|
||||
- component: {fileID: 5043013932294090053}
|
||||
- component: {fileID: 2953607571186196849}
|
||||
- component: {fileID: 1199763671395581940}
|
||||
- component: {fileID: 3128865433472483267}
|
||||
- component: {fileID: 3054831347229767129}
|
||||
m_Layer: 0
|
||||
m_Name: LogoCanvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4424067051843665300
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6400366477307100862}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 5982019098981716749}
|
||||
- {fileID: 3018930612413409227}
|
||||
m_Father: {fileID: 8627381932629902483}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!223 &8242335661705898145
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6400366477307100862}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 0
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 25
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!114 &5043013932294090053
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6400366477307100862}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 1
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 800, y: 600}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 1
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!114 &2953607571186196849
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6400366477307100862}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_IgnoreReversedGraphics: 1
|
||||
m_BlockingObjects: 0
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!114 &1199763671395581940
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6400366477307100862}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 47aa715050ab45e09496c366d4e11600, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
blurAmount: 2
|
||||
transparency: 1
|
||||
cornerRadius: 0
|
||||
additiveTintColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
multiplyTintColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
image: {fileID: 3054831347229767129}
|
||||
--- !u!222 &3128865433472483267
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6400366477307100862}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3054831347229767129
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6400366477307100862}
|
||||
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: 0}
|
||||
m_Type: 0
|
||||
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!1 &6585277870260916465
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 974348369154778032}
|
||||
- component: {fileID: 2958077741928716992}
|
||||
- component: {fileID: 11068394656407346}
|
||||
m_Layer: 5
|
||||
m_Name: Image
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &974348369154778032
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6585277870260916465}
|
||||
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: 5410031784572721844}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 10, y: 10}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2958077741928716992
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6585277870260916465}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &11068394656407346
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6585277870260916465}
|
||||
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.27628756, g: 0.8584906, b: 0, 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: c171273b4d327f14d8016fcbe864a769, type: 3}
|
||||
m_Type: 0
|
||||
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!1 &6745231150900784593
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3018930612413409227}
|
||||
- component: {fileID: 2383380931825561602}
|
||||
- component: {fileID: 8010354071760488135}
|
||||
m_Layer: 0
|
||||
m_Name: Subtitle
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3018930612413409227
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6745231150900784593}
|
||||
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: 4424067051843665300}
|
||||
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: -215}
|
||||
m_SizeDelta: {x: -100, y: -430}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2383380931825561602
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6745231150900784593}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &8010354071760488135
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6745231150900784593}
|
||||
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: "https://github.com/0x7c13/Pal3.Unity | B\u7AD9@\u67D2\u624D\nCopyright
|
||||
(c) 2021-2023, \u67D2\u624D(0x7c13). All rights reserved.\nCopyright (c) 2023,
|
||||
SOFTSTAR ENTERTAINMENT. All rights reserved."
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
|
||||
m_sharedMaterial: {fileID: 2847917559404452115, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 3372220415
|
||||
m_fontColor: {r: 1, g: 1, b: 1, a: 0.78431374}
|
||||
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: 12
|
||||
m_fontSizeBase: 12
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 2
|
||||
m_VerticalAlignment: 256
|
||||
m_textAlignment: 65535
|
||||
m_characterSpacing: 0
|
||||
m_wordSpacing: 0
|
||||
m_lineSpacing: 0
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
m_enableWordWrapping: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 1
|
||||
m_enableExtraPadding: 0
|
||||
checkPaddingRequired: 0
|
||||
m_isRichText: 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!1 &7276870447534455730
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -3653,6 +4454,7 @@ RectTransform:
|
||||
m_Children:
|
||||
- {fileID: 26898775255300359}
|
||||
- {fileID: 2546561680202900797}
|
||||
- {fileID: 7350756724496538233}
|
||||
m_Father: {fileID: 8627381932629902483}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
@@ -3700,7 +4502,7 @@ MonoBehaviour:
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0.75
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
@@ -4018,8 +4820,8 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 8498315575182197477}
|
||||
- component: {fileID: 4450587676581078315}
|
||||
- component: {fileID: 4003192220913667494}
|
||||
- component: {fileID: 7116787231374669820}
|
||||
- component: {fileID: 3120740828211380263}
|
||||
m_Layer: 5
|
||||
m_Name: DialogueCanvasGroup
|
||||
m_TagString: Untagged
|
||||
@@ -4049,7 +4851,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 20}
|
||||
m_SizeDelta: {x: 1100, y: -40}
|
||||
m_SizeDelta: {x: 1124.8, y: -40}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!225 &4450587676581078315
|
||||
CanvasGroup:
|
||||
@@ -4063,23 +4865,6 @@ CanvasGroup:
|
||||
m_Interactable: 1
|
||||
m_BlocksRaycasts: 1
|
||||
m_IgnoreParentGroups: 0
|
||||
--- !u!114 &4003192220913667494
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8534461212021361286}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9d6f17a4e68481a9705f217be9b4156, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxThresholdRatio: 1.6
|
||||
minThresholdRatio: 1.3
|
||||
minWidth: 800
|
||||
midWidth: 950
|
||||
maxWidth: 1100
|
||||
--- !u!223 &7116787231374669820
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -4103,6 +4888,20 @@ Canvas:
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!114 &3120740828211380263
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8534461212021361286}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: bdf09cb687ad7904c833af0fd80d4f63, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
thresholdRatio: 1.6
|
||||
padding: 40
|
||||
--- !u!1 &8627381932629902481
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -4144,6 +4943,7 @@ Transform:
|
||||
- {fileID: 15168862781853615}
|
||||
- {fileID: 5034920729594334697}
|
||||
- {fileID: 8835758892377050535}
|
||||
- {fileID: 4424067051843665300}
|
||||
- {fileID: 20216136}
|
||||
- {fileID: 9166793672834059380}
|
||||
- {fileID: 5491488055271105370}
|
||||
@@ -4169,6 +4969,8 @@ MonoBehaviour:
|
||||
noteCanvasGroup: {fileID: 6941303344842138483}
|
||||
noteText: {fileID: 7580806740173732748}
|
||||
taskInfoText: {fileID: 1158269877521751333}
|
||||
miniMapCanvasGroup: {fileID: 1880652245593453315}
|
||||
miniMapImage: {fileID: 3233777883530175225}
|
||||
dialogueCanvasGroup: {fileID: 4450587676581078315}
|
||||
dialogueBackgroundImage: {fileID: 3596785283706710040}
|
||||
dialogueAvatarImageLeft: {fileID: 2858011271090605436}
|
||||
@@ -4195,6 +4997,8 @@ MonoBehaviour:
|
||||
eventSystem: {fileID: 20216138}
|
||||
postProcessVolume: {fileID: 8346885185333560231}
|
||||
postProcessLayer: {fileID: 7927220425085558669}
|
||||
logoCanvas: {fileID: 6400366477307100862}
|
||||
logoImage: {fileID: 5537344167455247235}
|
||||
--- !u!114 &887733067292281693
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -4297,7 +5101,8 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
blurAmount: 4
|
||||
cornerRadius: 65
|
||||
transparency: 1
|
||||
cornerRadius: 40
|
||||
additiveTintColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
multiplyTintColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||
image: {fileID: 5077207798598084246}
|
||||
@@ -4383,8 +5188,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: -117.5, y: 0}
|
||||
m_SizeDelta: {x: -395, y: -50}
|
||||
m_AnchoredPosition: {x: -125, y: 0}
|
||||
m_SizeDelta: {x: -380, y: -50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6439756746665821290
|
||||
CanvasRenderer:
|
||||
|
||||
@@ -7,6 +7,7 @@ Shader "Pal3/RoundedFrostedGlass"
|
||||
Properties
|
||||
{
|
||||
_BlurAmount ("Blur", Range(0, 30)) = 1
|
||||
_Transparency ("Transparency", Range(0, 1)) = 1
|
||||
[HideInInspector] _MainTex ("Masking Texture", 2D) = "white" {}
|
||||
_AdditiveColor ("Additive Tint color", Color) = (0, 0, 0, 0)
|
||||
_MultiplyColor ("Multiply Tint color", Color) = (1, 1, 1, 1)
|
||||
@@ -96,6 +97,7 @@ Shader "Pal3/RoundedFrostedGlass"
|
||||
sampler2D _HBlur;
|
||||
float4 _HBlur_TexelSize;
|
||||
float _BlurAmount;
|
||||
float _Transparency;
|
||||
float4 _AdditiveColor;
|
||||
float4 _MultiplyColor;
|
||||
float4 _WidthHeightRadius;
|
||||
@@ -125,6 +127,7 @@ Shader "Pal3/RoundedFrostedGlass"
|
||||
sum.g * _MultiplyColor.g + _AdditiveColor.g,
|
||||
sum.b * _MultiplyColor.b + _AdditiveColor.b,
|
||||
tex2D(_MainTex, i.uvmain).a);
|
||||
result.a *= _Transparency;
|
||||
return result;
|
||||
}
|
||||
ENDCG
|
||||
@@ -200,6 +203,7 @@ Shader "Pal3/RoundedFrostedGlass"
|
||||
sampler2D _VBlur;
|
||||
float4 _VBlur_TexelSize;
|
||||
float _BlurAmount;
|
||||
float _Transparency;
|
||||
float4 _AdditiveColor;
|
||||
float4 _MultiplyColor;
|
||||
float4 _WidthHeightRadius;
|
||||
@@ -224,12 +228,12 @@ Shader "Pal3/RoundedFrostedGlass"
|
||||
sum += GRABPIXEL(0.09, +3.0);
|
||||
sum += GRABPIXEL(0.05, +4.0);
|
||||
|
||||
half4 blurResult = half4(sum.r * _MultiplyColor.r + _AdditiveColor.r,
|
||||
half4 result = half4(sum.r * _MultiplyColor.r + _AdditiveColor.r,
|
||||
sum.g * _MultiplyColor.g + _AdditiveColor.g,
|
||||
sum.b * _MultiplyColor.b + _AdditiveColor.b,
|
||||
tex2D(_MainTex, i.uvmain).a);
|
||||
|
||||
return blurResult;
|
||||
result.a *= _Transparency;
|
||||
return result;
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,140 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c171273b4d327f14d8016fcbe864a769
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 4
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -301,6 +301,21 @@ namespace Pal3.Data
|
||||
});
|
||||
}
|
||||
|
||||
public Sprite GetLogoSprite()
|
||||
{
|
||||
#if PAL3
|
||||
const string mainLogoTextureFileName = "11.tga";
|
||||
Rect mainLogoTextureRect = new Rect(0, 600, 375, 145);
|
||||
#elif PAL3A
|
||||
const string mainLogoTextureFileName = "12.tga";
|
||||
Rect mainLogoTextureRect = new Rect(0, 770, 500, 253);
|
||||
#endif
|
||||
|
||||
ITextureResourceProvider uiLibTextureProvider = CreateTextureResourceProvider(FileConstants.UILibFolderVirtualPath);
|
||||
Texture2D logoTexture = uiLibTextureProvider.GetTexture(mainLogoTextureFileName);
|
||||
return Sprite.Create(logoTexture, mainLogoTextureRect, new Vector2(0.5f, 0.5f));
|
||||
}
|
||||
|
||||
private Texture2D GetActorAvatarTexture(string actorName, string avatarTextureName)
|
||||
{
|
||||
var roleAvatarTextureRelativePath = FileConstants.GetActorFolderVirtualPath(actorName);
|
||||
|
||||
@@ -192,6 +192,8 @@ namespace Pal3.Dev
|
||||
}
|
||||
_initViewCameraOrbitAnimationCts = new CancellationTokenSource();
|
||||
StartCoroutine(StartCameraOrbitAnimationAsync(_initViewCameraOrbitAnimationCts.Token));
|
||||
|
||||
_gameStateManager.GoToState(GameState.Cutscene);
|
||||
}
|
||||
|
||||
private IEnumerator StartCameraOrbitAnimationAsync(CancellationToken cancellationToken)
|
||||
@@ -340,9 +342,9 @@ namespace Pal3.Dev
|
||||
SelectFirstButtonForEventSystem();
|
||||
|
||||
UpdateRectTransformWidthAndHeight(_backgroundTransform,
|
||||
_contentGridLayoutGroup.cellSize.x + 100f,
|
||||
_contentGridLayoutGroup.cellSize.x,
|
||||
(_contentGridLayoutGroup.cellSize.y + _contentGridLayoutGroup.spacing.y) * _menuItems.Count
|
||||
- _contentGridLayoutGroup.spacing.y + 100f);
|
||||
- _contentGridLayoutGroup.spacing.y);
|
||||
}
|
||||
|
||||
private void SetupSettingButtons()
|
||||
@@ -515,9 +517,9 @@ namespace Pal3.Dev
|
||||
SelectFirstButtonForEventSystem();
|
||||
|
||||
UpdateRectTransformWidthAndHeight(_backgroundTransform,
|
||||
_contentGridLayoutGroup.cellSize.x + 100f,
|
||||
_contentGridLayoutGroup.cellSize.x,
|
||||
(_contentGridLayoutGroup.cellSize.y + _contentGridLayoutGroup.spacing.y) * _menuItems.Count
|
||||
- _contentGridLayoutGroup.spacing.y + 100f);
|
||||
- _contentGridLayoutGroup.spacing.y);
|
||||
}
|
||||
|
||||
private void SetupSaveMenuButtons()
|
||||
@@ -558,9 +560,9 @@ namespace Pal3.Dev
|
||||
SelectFirstButtonForEventSystem();
|
||||
|
||||
UpdateRectTransformWidthAndHeight(_backgroundTransform,
|
||||
_contentGridLayoutGroup.cellSize.x + 100f,
|
||||
_contentGridLayoutGroup.cellSize.x,
|
||||
(_contentGridLayoutGroup.cellSize.y + _contentGridLayoutGroup.spacing.y) * _menuItems.Count
|
||||
- _contentGridLayoutGroup.spacing.y + 100f);
|
||||
- _contentGridLayoutGroup.spacing.y);
|
||||
}
|
||||
|
||||
private void SetupLoadMenuButtons()
|
||||
@@ -628,9 +630,9 @@ namespace Pal3.Dev
|
||||
SelectFirstButtonForEventSystem();
|
||||
|
||||
UpdateRectTransformWidthAndHeight(_backgroundTransform,
|
||||
_contentGridLayoutGroup.cellSize.x + 100f,
|
||||
_contentGridLayoutGroup.cellSize.x,
|
||||
(_contentGridLayoutGroup.cellSize.y + _contentGridLayoutGroup.spacing.y) * _menuItems.Count
|
||||
- _contentGridLayoutGroup.spacing.y + 100f);
|
||||
- _contentGridLayoutGroup.spacing.y);
|
||||
}
|
||||
|
||||
private void SetupStorySelectionButtons()
|
||||
@@ -661,14 +663,15 @@ namespace Pal3.Dev
|
||||
|
||||
UpdateRectTransformWidthAndHeight(_backgroundTransform,
|
||||
(_contentGridLayoutGroup.cellSize.x + _contentGridLayoutGroup.spacing.x) * _menuItems.Count
|
||||
- _contentGridLayoutGroup.spacing.x + 100f,
|
||||
_contentGridLayoutGroup.cellSize.y + 100f);
|
||||
- _contentGridLayoutGroup.spacing.x,
|
||||
_contentGridLayoutGroup.cellSize.y);
|
||||
}
|
||||
|
||||
private void UpdateRectTransformWidthAndHeight(RectTransform rectTransform, float width, float height)
|
||||
{
|
||||
rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, width);
|
||||
rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, height);
|
||||
const float padding = 60f;
|
||||
rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, width + padding);
|
||||
rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, height + padding);
|
||||
rectTransform.ForceUpdateRectTransforms();
|
||||
}
|
||||
|
||||
|
||||
@@ -219,11 +219,11 @@ namespace Pal3.GameSystem
|
||||
}
|
||||
|
||||
float width = (_bigMapCanvasGridLayoutGroup.cellSize.x + _bigMapCanvasGridLayoutGroup.spacing.x) *
|
||||
_selectionButtons.Count - _bigMapCanvasGridLayoutGroup.spacing.x + 80f;
|
||||
float height = _bigMapCanvasGridLayoutGroup.cellSize.y + 100f;
|
||||
_selectionButtons.Count - _bigMapCanvasGridLayoutGroup.spacing.x;
|
||||
float height = _bigMapCanvasGridLayoutGroup.cellSize.y;
|
||||
|
||||
_bigMapBackgroundTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, width);
|
||||
_bigMapBackgroundTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, height);
|
||||
_bigMapBackgroundTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, width + 50f);
|
||||
_bigMapBackgroundTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, height + 60f);
|
||||
_bigMapBackgroundTransform.ForceUpdateRectTransforms();
|
||||
|
||||
_bigMapCanvas.alpha = 1f;
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace Pal3.GameSystem
|
||||
ICommandExecutor<ResetGameStateCommand>
|
||||
{
|
||||
private const float LIMIT_TIME_DIALOGUE_PLAYER_MAX_REACTION_TIME_IN_SECONDS = 4f;
|
||||
private const float DIALOGUE_SHOW_HIDE_ANIMATION_DURATION = 0.1f;
|
||||
private const float DIALOGUE_SHOW_HIDE_ANIMATION_DURATION = 0.12f;
|
||||
private const float DIALOGUE_SHOW_HIDE_ANIMATION_Y_OFFSET = -30f;
|
||||
private const float DIALOGUE_FLASHING_ANIMATION_DURATION = 0.5f;
|
||||
|
||||
@@ -56,6 +56,7 @@ namespace Pal3.GameSystem
|
||||
private Canvas _dialogueSelectionButtonsCanvas;
|
||||
private GameObject _dialogueSelectionButtonPrefab;
|
||||
private Image _dialogueBackgroundImage;
|
||||
private RoundedFrostedGlassImage _backgroundFrostedGlassImage;
|
||||
|
||||
private Image _avatarImageLeft;
|
||||
private Image _avatarImageRight;
|
||||
@@ -100,6 +101,8 @@ namespace Pal3.GameSystem
|
||||
|
||||
_dialogueCanvasGroup = Requires.IsNotNull(dialogueCanvasGroup, nameof(dialogueCanvasGroup));
|
||||
_dialogueBackgroundImage = Requires.IsNotNull(dialogueBackgroundImage, nameof(dialogueBackgroundImage));
|
||||
_backgroundFrostedGlassImage = Requires.IsNotNull(dialogueBackgroundImage.GetComponent<RoundedFrostedGlassImage>(),
|
||||
nameof(dialogueBackgroundImage));
|
||||
|
||||
_avatarImageLeft = Requires.IsNotNull(avatarImageLeft, nameof(avatarImageLeft));
|
||||
_avatarImageRight = Requires.IsNotNull(avatarImageRight, nameof(avatarImageRight));
|
||||
@@ -330,28 +333,34 @@ namespace Pal3.GameSystem
|
||||
|
||||
private IEnumerator PlayDialogueBackgroundFlashingAnimationAsync(float duration, CancellationToken cancellationToken)
|
||||
{
|
||||
var startTime = Time.realtimeSinceStartup;
|
||||
float startTime = Time.realtimeSinceStartup;
|
||||
float initialBlurAmount = _backgroundFrostedGlassImage.blurAmount;
|
||||
float initialTransparency = _backgroundFrostedGlassImage.transparency;
|
||||
const float minThresholdPercentage = 0.65f;
|
||||
|
||||
while (!cancellationToken.IsCancellationRequested)
|
||||
{
|
||||
yield return CoreAnimation.EnumerateValueAsync(1f, 0.2f, DIALOGUE_FLASHING_ANIMATION_DURATION / 2f,
|
||||
yield return CoreAnimation.EnumerateValueAsync(1f, minThresholdPercentage, DIALOGUE_FLASHING_ANIMATION_DURATION / 2f,
|
||||
AnimationCurveType.Linear, value =>
|
||||
{
|
||||
_dialogueCanvasGroup.alpha = value;
|
||||
_backgroundFrostedGlassImage.SetMaterialBlurAmount(initialBlurAmount * value);
|
||||
_backgroundFrostedGlassImage.SetMaterialTransparency(initialTransparency * value);
|
||||
}, cancellationToken);
|
||||
|
||||
if (Time.realtimeSinceStartup - startTime >= duration) break;
|
||||
|
||||
yield return CoreAnimation.EnumerateValueAsync(0.2f, 1f, DIALOGUE_FLASHING_ANIMATION_DURATION / 2f,
|
||||
yield return CoreAnimation.EnumerateValueAsync(minThresholdPercentage, 1f, DIALOGUE_FLASHING_ANIMATION_DURATION / 2f,
|
||||
AnimationCurveType.Linear, value =>
|
||||
{
|
||||
_dialogueCanvasGroup.alpha = value;
|
||||
_backgroundFrostedGlassImage.SetMaterialBlurAmount(initialBlurAmount * value);
|
||||
_backgroundFrostedGlassImage.SetMaterialTransparency(initialTransparency * value);
|
||||
}, cancellationToken);
|
||||
|
||||
if (Time.realtimeSinceStartup - startTime >= duration) break;
|
||||
}
|
||||
|
||||
_dialogueCanvasGroup.alpha = 1f;
|
||||
_backgroundFrostedGlassImage.SetMaterialBlurAmount(initialBlurAmount);
|
||||
_backgroundFrostedGlassImage.SetMaterialTransparency(initialTransparency);
|
||||
}
|
||||
|
||||
private IEnumerator PlayDialogueBackgroundPopAnimationAsync(bool showDialogue)
|
||||
@@ -369,12 +378,18 @@ namespace Pal3.GameSystem
|
||||
dialogueCanvasGroupTransform.position = startPosition;
|
||||
}
|
||||
|
||||
var initialBlurAmount = _backgroundFrostedGlassImage.blurAmount;
|
||||
var initialTransparency = _backgroundFrostedGlassImage.transparency;
|
||||
yield return CoreAnimation.EnumerateValueAsync(startValue, endValue, DIALOGUE_SHOW_HIDE_ANIMATION_DURATION,
|
||||
AnimationCurveType.Linear, value =>
|
||||
AnimationCurveType.EaseIn, value =>
|
||||
{
|
||||
_dialogueCanvasGroup.transform.position = finalPosition + new Vector3(0f, yOffset * (1 - value), 0);
|
||||
_dialogueCanvasGroup.alpha = value;
|
||||
_backgroundFrostedGlassImage.SetMaterialBlurAmount(initialBlurAmount * value);
|
||||
_backgroundFrostedGlassImage.SetMaterialTransparency(initialTransparency * value);
|
||||
});
|
||||
_backgroundFrostedGlassImage.SetMaterialBlurAmount(initialBlurAmount);
|
||||
_backgroundFrostedGlassImage.SetMaterialTransparency(initialTransparency);
|
||||
|
||||
_dialogueCanvasGroup.transform.position = finalPosition; // Always set to final position
|
||||
_dialogueCanvasGroup.alpha = showDialogue ? 1f : 0f;
|
||||
@@ -423,10 +438,10 @@ namespace Pal3.GameSystem
|
||||
"另外,画面\\i左下角\\r那东西叫作\\i“司南”\\r,只要点一下,就能看到地图,认清方向了。"))
|
||||
#endif
|
||||
{
|
||||
text = $"知道吗?您现在玩的{GameConstants.AppNameCNFull}是由\\i柒才\\r使用C#/Unity开发的复刻版,免费开源且支持全平台。" +
|
||||
text = $"知道吗?您现在玩的{GameConstants.AppNameCNFull}是由\\i柒才\\r使用C#/Unity开发(完全重写)的复刻版,免费开源且支持全平台(Win/Mac/Linux/iOS/Android)。" +
|
||||
"如果您是花钱得到的,那么恭喜您成为盗版游戏的受害者。" +
|
||||
$"当前游戏还在开发中,包括战斗在内的很多功能尚未实现,请耐心等待,也欢迎加入本游戏QQ群与作者联系:\\i252315306\\r," +
|
||||
"或者您也可以在B站关注Up主\\i@柒才\\r!";
|
||||
$"当前游戏还在开发中,包括战斗在内的很多功能尚未实现,请耐心等待,也欢迎加入本游戏QQ群与作者联系或下载最新版:\\i252315306\\r," +
|
||||
"您也可以在B站关注Up主\\i@柒才\\r获取最新开发信息!另外,全平台都支持手柄哦~";
|
||||
}
|
||||
|
||||
var formattedText = text.Replace("\\n", "\n");
|
||||
|
||||
@@ -0,0 +1,204 @@
|
||||
// ---------------------------------------------------------------------------------------------
|
||||
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
|
||||
// See LICENSE file in the project root for license information.
|
||||
// ---------------------------------------------------------------------------------------------
|
||||
|
||||
namespace Pal3.GameSystem
|
||||
{
|
||||
using System;
|
||||
using Command;
|
||||
using Command.InternalCommands;
|
||||
using Core.DataReader.Nav;
|
||||
using Core.DataReader.Scn;
|
||||
using Core.Utils;
|
||||
using Scene;
|
||||
using State;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public sealed class MiniMapManager : MonoBehaviour,
|
||||
ICommandExecutor<PlayerActorTilePositionUpdatedNotification>,
|
||||
ICommandExecutor<SceneLeavingCurrentSceneNotification>,
|
||||
ICommandExecutor<ScenePostLoadingNotification>,
|
||||
ICommandExecutor<GameStateChangedNotification>,
|
||||
ICommandExecutor<ResetGameStateCommand>
|
||||
{
|
||||
private const float MINIMAP_SCALE = 2.5f;
|
||||
|
||||
private Camera _mainCamera;
|
||||
private SceneManager _sceneManager;
|
||||
|
||||
private CanvasGroup _miniMapCanvasGroup;
|
||||
private RectTransform _miniMapRectTransform;
|
||||
private float _miniMapWidth;
|
||||
private Image _miniMapImage;
|
||||
|
||||
private Texture2D[] _miniMapTextures;
|
||||
private Sprite[] _miniMapSprites;
|
||||
|
||||
private Tilemap _currentTilemap;
|
||||
private int _currentLayerIndex = -1;
|
||||
private GameState _currentGameState = GameState.MenuShowing;
|
||||
|
||||
public void Init(Camera mainCamera,
|
||||
SceneManager sceneManager,
|
||||
CanvasGroup miniMapCanvasGroup,
|
||||
Image miniMapImage)
|
||||
{
|
||||
_mainCamera = Requires.IsNotNull(mainCamera, nameof(mainCamera));
|
||||
_sceneManager = Requires.IsNotNull(sceneManager, nameof(sceneManager));
|
||||
_miniMapCanvasGroup = Requires.IsNotNull(miniMapCanvasGroup, nameof(miniMapCanvasGroup));
|
||||
_miniMapImage = Requires.IsNotNull(miniMapImage, nameof(miniMapImage));
|
||||
_miniMapImage.preserveAspect = true;
|
||||
|
||||
_miniMapRectTransform = Requires.IsNotNull(_miniMapCanvasGroup.GetComponent<RectTransform>(), nameof(miniMapImage));
|
||||
_miniMapWidth = _miniMapRectTransform.rect.width;
|
||||
_miniMapCanvasGroup.alpha = 0f;
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
CommandExecutorRegistry<ICommand>.Instance.Register(this);
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
CommandExecutorRegistry<ICommand>.Instance.UnRegister(this);
|
||||
Dispose();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
_miniMapRectTransform.localRotation = Quaternion.Euler(0, 0, _mainCamera.transform.eulerAngles.y + 180f);
|
||||
}
|
||||
|
||||
private Texture2D CreateMiniMapTexture(NavTileLayer layer)
|
||||
{
|
||||
Color[] colors = new Color[layer.Width * layer.Height];
|
||||
|
||||
for (var i = 0; i < layer.Width; i++)
|
||||
{
|
||||
for (int j = 0; j < layer.Height; j++)
|
||||
{
|
||||
var index = i + j * layer.Width;
|
||||
NavTile tile = layer.Tiles[index];
|
||||
|
||||
// NOTE: the texture is flipped vertically compared to the tilemap space
|
||||
var colorIndex = i + (layer.Height - j - 1) * layer.Width;
|
||||
colors[colorIndex] = tile.DistanceToNearestObstacle switch
|
||||
{
|
||||
0 => new Color(0f, 0f, 0f, 0f),
|
||||
1 => new Color(1f, 0.9f, 0.1f, 0.7f),
|
||||
#if PAL3
|
||||
_ => new Color(30f / 255f, 75f / 255f, 140f / 255f, 100f / 255f),
|
||||
#elif PAL3A
|
||||
_ => new Color(160f / 255f, 40f / 255f, 110f / 255f, 100f / 255f),
|
||||
#endif
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Texture2D texture = new Texture2D(layer.Width, layer.Height, TextureFormat.RGBA32, mipChain: false);
|
||||
texture.SetPixels(colors);
|
||||
texture.Apply(false);
|
||||
return texture;
|
||||
}
|
||||
|
||||
public void Execute(PlayerActorTilePositionUpdatedNotification command)
|
||||
{
|
||||
if (_currentTilemap == null) return;
|
||||
|
||||
NavTileLayer layer = _currentTilemap.GetLayer(command.LayerIndex);
|
||||
|
||||
// Swap the sprite if the player has moved to another layer
|
||||
if (_currentLayerIndex != command.LayerIndex)
|
||||
{
|
||||
_currentLayerIndex = command.LayerIndex;
|
||||
_miniMapImage.sprite = _miniMapSprites[_currentLayerIndex];
|
||||
|
||||
float scale = Mathf.Max(layer.Width, layer.Height) / _miniMapWidth * MINIMAP_SCALE;
|
||||
_miniMapImage.rectTransform.localScale = new Vector3(scale, scale, 1f);
|
||||
}
|
||||
|
||||
// NOTE: the texture is flipped vertically compared to the tilemap space
|
||||
Vector2 playerPixelPosition = new Vector2(command.Position.x, layer.Height - command.Position.y - 1);
|
||||
Vector2 textureCenter = new Vector2(layer.Width / 2f, layer.Height / 2f);
|
||||
Vector2 offset = playerPixelPosition - textureCenter;
|
||||
|
||||
_miniMapImage.rectTransform.anchoredPosition = -offset * MINIMAP_SCALE;
|
||||
|
||||
if (_currentGameState == GameState.Gameplay &&
|
||||
_miniMapCanvasGroup.alpha == 0f)
|
||||
{
|
||||
_miniMapCanvasGroup.alpha = 1f;
|
||||
}
|
||||
}
|
||||
|
||||
public void Execute(ResetGameStateCommand command)
|
||||
{
|
||||
_miniMapCanvasGroup.alpha = 0f;
|
||||
}
|
||||
|
||||
public void Execute(ScenePostLoadingNotification command)
|
||||
{
|
||||
if (command.NewSceneInfo.SceneType == ScnSceneType.InDoor) return;
|
||||
|
||||
_currentTilemap = _sceneManager.GetCurrentScene().GetTilemap();
|
||||
_miniMapTextures = new Texture2D[_currentTilemap.GetLayerCount()];
|
||||
_miniMapSprites = new Sprite[_currentTilemap.GetLayerCount()];
|
||||
|
||||
for (var i = 0; i < _currentTilemap.GetLayerCount(); i++)
|
||||
{
|
||||
NavTileLayer tileLayer = _currentTilemap.GetLayer(i);
|
||||
_miniMapTextures[i] = CreateMiniMapTexture(tileLayer);
|
||||
|
||||
_miniMapSprites[i] = Sprite.Create(_miniMapTextures[i],
|
||||
new Rect(0, 0, tileLayer.Width, tileLayer.Height),
|
||||
new Vector2(0.5f, 0.5f));
|
||||
}
|
||||
|
||||
_currentLayerIndex = -1;
|
||||
}
|
||||
|
||||
private void Dispose()
|
||||
{
|
||||
_miniMapCanvasGroup.alpha = 0f;
|
||||
|
||||
if (_miniMapSprites != null)
|
||||
{
|
||||
foreach (var sprite in _miniMapSprites)
|
||||
{
|
||||
Destroy(sprite);
|
||||
}
|
||||
|
||||
_miniMapSprites = null;
|
||||
}
|
||||
|
||||
if (_miniMapTextures != null)
|
||||
{
|
||||
foreach (var texture in _miniMapTextures)
|
||||
{
|
||||
Destroy(texture);
|
||||
}
|
||||
|
||||
_miniMapTextures = null;
|
||||
}
|
||||
|
||||
_currentTilemap = null;
|
||||
_miniMapImage.sprite = null;
|
||||
_currentLayerIndex = -1;
|
||||
}
|
||||
|
||||
public void Execute(SceneLeavingCurrentSceneNotification command)
|
||||
{
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public void Execute(GameStateChangedNotification command)
|
||||
{
|
||||
_currentGameState = command.NewState;
|
||||
_miniMapCanvasGroup.alpha = command.NewState == GameState.Gameplay && _miniMapImage.sprite != null
|
||||
? 1f : 0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 038ba9e665d509e469be7db0de04a0b8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -30,6 +30,7 @@ namespace Pal3.MetaData
|
||||
private const string SCENE_FOLDER_NAME = "scene";
|
||||
private const string EFFECT_FOLDER_NAME = "effect";
|
||||
private const string UI_FOLDER_NAME = "ui";
|
||||
private const string UI_LIBRARY_FOLDER_NAME = "UILib";
|
||||
private const string BIG_MAP_FOLDER_NAME = "BigMap";
|
||||
private const string OBJECT_FOLDER_NAME = "object";
|
||||
private const string COMBAT_DATA_FOLDER_NAME = "cbdata";
|
||||
@@ -128,9 +129,12 @@ namespace Pal3.MetaData
|
||||
public static readonly string BigMapSceFileVirtualPath =
|
||||
$"{BASE_DATA_CPK_FILE_NAME}{DirSeparator}{UI_FOLDER_NAME}{DirSeparator}{BIG_MAP_FOLDER_NAME}{DirSeparator}BigMap.sce";
|
||||
|
||||
public static readonly string UISceneFolderVirtualPath =
|
||||
public static readonly string UISceneFolderVirtualPath =
|
||||
$"{BASE_DATA_CPK_FILE_NAME}{DirSeparator}{UI_FOLDER_NAME}{DirSeparator}scene{DirSeparator}";
|
||||
|
||||
public static readonly string UILibFolderVirtualPath =
|
||||
$"{BASE_DATA_CPK_FILE_NAME}{DirSeparator}{UI_FOLDER_NAME}{DirSeparator}{UI_LIBRARY_FOLDER_NAME}{DirSeparator}";
|
||||
|
||||
public static readonly string[] SkyBoxTexturePathFormat =
|
||||
{
|
||||
EffectScnFolderVirtualPath + "skybox" + DirSeparator + "{0:00}" + DirSeparator + "{0:00}_lf.tga",
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace Pal3
|
||||
using Camera;
|
||||
using Command;
|
||||
using Command.SceCommands;
|
||||
using Core.DataLoader;
|
||||
using Core.DataReader.Scn;
|
||||
using Core.FileSystem;
|
||||
using Core.Services;
|
||||
@@ -34,6 +35,9 @@ namespace Pal3
|
||||
using UI;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.InputSystem;
|
||||
using UnityEngine.InputSystem.Controls;
|
||||
using UnityEngine.InputSystem.LowLevel;
|
||||
using UnityEngine.Rendering.PostProcessing;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Video;
|
||||
@@ -64,6 +68,8 @@ namespace Pal3
|
||||
[SerializeField] private CanvasGroup noteCanvasGroup;
|
||||
[SerializeField] private TextMeshProUGUI noteText;
|
||||
[SerializeField] private TextMeshProUGUI taskInfoText;
|
||||
[SerializeField] private CanvasGroup miniMapCanvasGroup;
|
||||
[SerializeField] private Image miniMapImage;
|
||||
|
||||
// Dialogue
|
||||
[SerializeField] private CanvasGroup dialogueCanvasGroup;
|
||||
@@ -107,6 +113,10 @@ namespace Pal3
|
||||
[SerializeField] private PostProcessVolume postProcessVolume;
|
||||
[SerializeField] private PostProcessLayer postProcessLayer;
|
||||
|
||||
// LOGO
|
||||
[SerializeField] private GameObject logoCanvas;
|
||||
[SerializeField] private Image logoImage;
|
||||
|
||||
// Global texture cache store
|
||||
private readonly TextureCache _textureCache = new ();
|
||||
|
||||
@@ -131,6 +141,7 @@ namespace Pal3
|
||||
private EffectManager _effectManager;
|
||||
|
||||
// Game components
|
||||
private MiniMapManager _miniMapManager;
|
||||
private TouchControlUIManager _touchControlUIManager;
|
||||
private PlayerGamePlayController _playerGamePlayController;
|
||||
private TeamManager _teamManager;
|
||||
@@ -258,6 +269,10 @@ namespace Pal3
|
||||
_informationManager.Init(noteCanvasGroup, noteText, debugInfo);
|
||||
ServiceLocator.Instance.Register(_informationManager);
|
||||
|
||||
_miniMapManager = gameObject.AddComponent<MiniMapManager>();
|
||||
_miniMapManager.Init(mainCamera, _sceneManager, miniMapCanvasGroup, miniMapImage);
|
||||
ServiceLocator.Instance.Register(_miniMapManager);
|
||||
|
||||
_dialogueManager = gameObject.AddComponent<DialogueManager>();
|
||||
_dialogueManager.Init(_gameResourceProvider,
|
||||
_gameStateManager,
|
||||
@@ -362,7 +377,20 @@ namespace Pal3
|
||||
Debug.Log($"[{nameof(Pal3)}] Game started.");
|
||||
|
||||
_mainMenu.ShowInitView();
|
||||
_mainMenu.ShowMenu();
|
||||
|
||||
// Show logo image.
|
||||
logoImage.sprite = _gameResourceProvider.GetLogoSprite();
|
||||
logoImage.preserveAspect = true;
|
||||
#if PAL3
|
||||
logoImage.transform.localScale = new Vector3(0.9f, 0.9f, 1f);
|
||||
#elif PAL3A
|
||||
logoImage.transform.localScale = new Vector3(1.2f, 1.2f, 1f);
|
||||
#endif
|
||||
logoImage.enabled = true;
|
||||
|
||||
// Listen to input events to detect any key or touch press
|
||||
// to hide the logo and show the main menu.
|
||||
InputSystem.onEvent += OnInputEvent;
|
||||
|
||||
#if !UNITY_EDITOR
|
||||
// Check latest version and notify if a newer version is found.
|
||||
@@ -370,6 +398,39 @@ namespace Pal3
|
||||
#endif
|
||||
}
|
||||
|
||||
private void OnInputEvent(InputEventPtr eventPtr, InputDevice device)
|
||||
{
|
||||
if (!eventPtr.IsA<StateEvent>() && !eventPtr.IsA<DeltaStateEvent>()) return;
|
||||
|
||||
var controls = device.allControls;
|
||||
var buttonPressPoint = InputSystem.settings.defaultButtonPressPoint;
|
||||
|
||||
foreach (InputControl control in controls)
|
||||
{
|
||||
if (control.synthetic || control.noisy) continue;
|
||||
|
||||
switch (control)
|
||||
{
|
||||
case TouchControl:
|
||||
OnAnyKeyOrTouchTriggered();
|
||||
return;
|
||||
case ButtonControl buttonControl when
|
||||
buttonControl.ReadValueFromEvent(eventPtr, out var value) &&
|
||||
value >= buttonPressPoint:
|
||||
OnAnyKeyOrTouchTriggered();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void OnAnyKeyOrTouchTriggered()
|
||||
{
|
||||
InputSystem.onEvent -= OnInputEvent; // Only listen to the first touch event.
|
||||
Destroy(logoImage.sprite);
|
||||
Destroy(logoCanvas);
|
||||
_mainMenu.ShowMenu();
|
||||
}
|
||||
}
|
||||
|
||||
private IEnumerator CheckLatestVersionAndNotify()
|
||||
{
|
||||
yield return new WaitForSeconds(1f);
|
||||
@@ -424,6 +485,7 @@ namespace Pal3
|
||||
Destroy(_cameraManager);
|
||||
Destroy(_audioManager);
|
||||
Destroy(_informationManager);
|
||||
Destroy(_miniMapManager);
|
||||
Destroy(_dialogueManager);
|
||||
Destroy(_hotelManager);
|
||||
Destroy(_bigMapManager);
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Pal3.Scene.SceneObjects
|
||||
[ScnSceneObject(ScnSceneObjectType.SlideWay)]
|
||||
public sealed class SlideWayObject : SceneObject
|
||||
{
|
||||
private const uint ACTOR_SLIDE_SPEED = 300;
|
||||
private const uint ACTOR_SLIDE_SPEED = 500;
|
||||
|
||||
private TilemapTriggerController _triggerController;
|
||||
private bool _isInteractionInProgress;
|
||||
|
||||
@@ -78,6 +78,11 @@ namespace Pal3.Scene
|
||||
return currentLayer.Tiles[position.x + position.y * currentLayer.Width];
|
||||
}
|
||||
|
||||
public NavTileLayer GetLayer(int layerIndex)
|
||||
{
|
||||
return _navFile.TileLayers[layerIndex];
|
||||
}
|
||||
|
||||
public bool IsPositionInsidePortalArea(Vector3 position, int layerIndex)
|
||||
{
|
||||
Vector2Int tilePosition = GetTilePosition(position, layerIndex);
|
||||
|
||||
+10
-16
@@ -9,33 +9,27 @@ namespace Pal3.UI
|
||||
|
||||
[ExecuteAlways]
|
||||
[RequireComponent(typeof(RectTransform))]
|
||||
public class RectTransformWidthResizer : MonoBehaviour
|
||||
public class RectTransformMaxWidthLimiter : MonoBehaviour
|
||||
{
|
||||
public float maxThresholdRatio;
|
||||
public float minThresholdRatio;
|
||||
|
||||
public float minWidth;
|
||||
public float midWidth;
|
||||
public float maxWidth;
|
||||
[SerializeField] public float thresholdRatio;
|
||||
[SerializeField] public float padding;
|
||||
|
||||
private RectTransform _transform;
|
||||
private Canvas _canvas;
|
||||
|
||||
void OnEnable()
|
||||
private void OnEnable()
|
||||
{
|
||||
_transform = GetComponent<RectTransform>();
|
||||
}
|
||||
|
||||
void Update()
|
||||
private void Update()
|
||||
{
|
||||
float currentRatio = (float) Screen.width / Screen.height;
|
||||
|
||||
bool useMaxWidth = currentRatio > maxThresholdRatio;
|
||||
bool useMinWidth = currentRatio < minThresholdRatio;
|
||||
|
||||
_transform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, useMaxWidth ? maxWidth : useMinWidth ? minWidth : midWidth);
|
||||
var currentRatio = (float) Screen.width / Screen.height;
|
||||
_transform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, currentRatio > thresholdRatio
|
||||
? _transform.rect.height * thresholdRatio - padding
|
||||
: _transform.rect.height * currentRatio - padding);
|
||||
}
|
||||
|
||||
void OnValidate() => OnEnable();
|
||||
private void OnValidate() => OnEnable();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bdf09cb687ad7904c833af0fd80d4f63
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e9d6f17a4e68481a9705f217be9b4156
|
||||
timeCreated: 1688053110
|
||||
@@ -12,13 +12,15 @@ namespace Pal3.UI
|
||||
public class RoundedFrostedGlassImage : MonoBehaviour
|
||||
{
|
||||
private static readonly int BlurAmountPropertyId = Shader.PropertyToID("_BlurAmount");
|
||||
private static readonly int TransparencyPropertyId = Shader.PropertyToID("_Transparency");
|
||||
private static readonly int WidthHeightRadiusPropertyId = Shader.PropertyToID("_WidthHeightRadius");
|
||||
private static readonly int AdditiveColorPropertyId = Shader.PropertyToID("_AdditiveColor");
|
||||
private static readonly int MultiplyColorPropertyId = Shader.PropertyToID("_MultiplyColor");
|
||||
|
||||
private static Shader _shader;
|
||||
|
||||
[SerializeField] public float blurAmount = 1;
|
||||
[SerializeField] public float blurAmount = 1f;
|
||||
[SerializeField] public float transparency = 1f;
|
||||
[SerializeField] public float cornerRadius;
|
||||
[SerializeField] public Color additiveTintColor = Color.black;
|
||||
[SerializeField] public Color multiplyTintColor = Color.white;
|
||||
@@ -27,6 +29,18 @@ namespace Pal3.UI
|
||||
|
||||
[HideInInspector, SerializeField] private MaskableGraphic image;
|
||||
|
||||
public void SetMaterialBlurAmount(float newBlurAmount)
|
||||
{
|
||||
if (_material == null) return;
|
||||
_material.SetFloat(BlurAmountPropertyId, newBlurAmount);
|
||||
}
|
||||
|
||||
public void SetMaterialTransparency(float newAlpha)
|
||||
{
|
||||
if (_material == null) return;
|
||||
_material.SetFloat(TransparencyPropertyId, newAlpha);
|
||||
}
|
||||
|
||||
private void OnValidate()
|
||||
{
|
||||
Init();
|
||||
@@ -94,6 +108,7 @@ namespace Pal3.UI
|
||||
|
||||
Rect rect = ((RectTransform)transform).rect;
|
||||
_material.SetFloat(BlurAmountPropertyId, blurAmount);
|
||||
_material.SetFloat(TransparencyPropertyId, transparency);
|
||||
_material.SetColor(AdditiveColorPropertyId, additiveTintColor);
|
||||
_material.SetColor(MultiplyColorPropertyId, multiplyTintColor);
|
||||
_material.SetVector(WidthHeightRadiusPropertyId,
|
||||
|
||||
@@ -112,7 +112,7 @@ GraphicsSettings:
|
||||
useDitherMaskForAlphaBlendedShadows: 0
|
||||
m_Automatic: 0
|
||||
m_LightmapStripping: 0
|
||||
m_FogStripping: 0
|
||||
m_FogStripping: 1
|
||||
m_InstancingStripping: 0
|
||||
m_BrgStripping: 0
|
||||
m_LightmapKeepPlain: 1
|
||||
@@ -122,8 +122,8 @@ GraphicsSettings:
|
||||
m_LightmapKeepShadowMask: 1
|
||||
m_LightmapKeepSubtractive: 1
|
||||
m_FogKeepLinear: 1
|
||||
m_FogKeepExp: 1
|
||||
m_FogKeepExp2: 1
|
||||
m_FogKeepExp: 0
|
||||
m_FogKeepExp2: 0
|
||||
m_AlbedoSwatchInfos: []
|
||||
m_LightsUseLinearIntensity: 0
|
||||
m_LightsUseColorTemperature: 0
|
||||
@@ -131,3 +131,5 @@ GraphicsSettings:
|
||||
m_LogWhenShaderIsCompiled: 0
|
||||
m_SRPDefaultSettings: {}
|
||||
m_LightProbeOutsideHullStrategy: 0
|
||||
m_CameraRelativeLightCulling: 0
|
||||
m_CameraRelativeShadowCulling: 0
|
||||
@@ -133,7 +133,7 @@ PlayerSettings:
|
||||
vulkanEnableLateAcquireNextImage: 0
|
||||
vulkanEnableCommandBufferRecycling: 1
|
||||
loadStoreDebugModeEnabled: 0
|
||||
bundleVersion: 0.70
|
||||
bundleVersion: 0.71
|
||||
preloadedAssets: []
|
||||
metroInputSource: 0
|
||||
wsaTransparentSwapchain: 0
|
||||
|
||||
@@ -29,6 +29,7 @@ QualitySettings:
|
||||
billboardsFaceCameraPosition: 0
|
||||
useLegacyDetailDistribution: 1
|
||||
vSyncCount: 0
|
||||
realtimeGICPUUsage: 25
|
||||
lodBias: 0.3
|
||||
maximumLODLevel: 0
|
||||
enableLODCrossFade: 1
|
||||
@@ -77,6 +78,7 @@ QualitySettings:
|
||||
billboardsFaceCameraPosition: 0
|
||||
useLegacyDetailDistribution: 1
|
||||
vSyncCount: 0
|
||||
realtimeGICPUUsage: 25
|
||||
lodBias: 0.4
|
||||
maximumLODLevel: 0
|
||||
enableLODCrossFade: 1
|
||||
@@ -125,6 +127,7 @@ QualitySettings:
|
||||
billboardsFaceCameraPosition: 0
|
||||
useLegacyDetailDistribution: 1
|
||||
vSyncCount: 0
|
||||
realtimeGICPUUsage: 25
|
||||
lodBias: 0.7
|
||||
maximumLODLevel: 0
|
||||
enableLODCrossFade: 1
|
||||
@@ -173,6 +176,7 @@ QualitySettings:
|
||||
billboardsFaceCameraPosition: 1
|
||||
useLegacyDetailDistribution: 1
|
||||
vSyncCount: 0
|
||||
realtimeGICPUUsage: 50
|
||||
lodBias: 1
|
||||
maximumLODLevel: 0
|
||||
enableLODCrossFade: 1
|
||||
@@ -221,6 +225,7 @@ QualitySettings:
|
||||
billboardsFaceCameraPosition: 1
|
||||
useLegacyDetailDistribution: 1
|
||||
vSyncCount: 1
|
||||
realtimeGICPUUsage: 50
|
||||
lodBias: 1.5
|
||||
maximumLODLevel: 0
|
||||
enableLODCrossFade: 1
|
||||
@@ -269,6 +274,7 @@ QualitySettings:
|
||||
billboardsFaceCameraPosition: 1
|
||||
useLegacyDetailDistribution: 1
|
||||
vSyncCount: 1
|
||||
realtimeGICPUUsage: 100
|
||||
lodBias: 2
|
||||
maximumLODLevel: 0
|
||||
enableLODCrossFade: 1
|
||||
|
||||
Reference in new issue
Block a user