第一阶段已完成

当前具备基础功能,其余待确认了再进行完善
FUJIFILM
zc 2025-07-13 19:18:40 +08:00
parent eb2a433eb4
commit b865ba74f7
15 changed files with 632 additions and 15808 deletions

View File

@ -6117,9 +6117,9 @@ RectTransform:
m_Father: {fileID: 4486282163979915033}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: -14}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!222 &663285440126140812
CanvasRenderer:
@ -9142,7 +9142,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &4486282163979915033
RectTransform:
m_ObjectHideFlags: 0
@ -9159,10 +9159,10 @@ RectTransform:
- {fileID: 1613273312225678132}
m_Father: {fileID: 1898062891218592809}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 540, y: -1350.4867}
m_SizeDelta: {x: 1080, y: 100}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 524}
m_SizeDelta: {x: 0, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4091770591890235323
CanvasRenderer:
@ -9999,6 +9999,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 2301976032773426488}
- {fileID: 4486282163979915033}
- {fileID: 4635939888012999965}
- {fileID: 530608719482045347}
@ -10006,7 +10007,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 236.79}
m_AnchoredPosition: {x: 0, y: 286.79}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8748695031301544831
@ -10064,8 +10065,9 @@ MonoBehaviour:
AlphaBoardShifted: {fileID: 6970308529590723906}
NumBoardUnshifted: {fileID: 1143456186021523806}
NumBoardShifted: {fileID: 6342022722889722134}
btnClickClose: {fileID: 7508478119492860970}
chin: {fileID: 2059749713426467677}
isHideOnAwake: 0
isHideOnAwake: 1
tmp_Chin:
--- !u!114 &1314218884885623318
MonoBehaviour:
@ -10074,7 +10076,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2286084642763046842}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3}
m_Name:
@ -10100,7 +10102,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2286084642763046842}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
m_Name:
@ -14778,9 +14780,9 @@ RectTransform:
m_Father: {fileID: 1898062891218592809}
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: 1080, y: 383.59}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 192.20502}
m_SizeDelta: {x: 0, y: 383.59}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &3247112935139100286
GameObject:
@ -20321,6 +20323,126 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &4429861657249252914
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2301976032773426488}
- component: {fileID: 1136773485273313322}
- component: {fileID: 5668863260832483449}
- component: {fileID: 7508478119492860970}
m_Layer: 5
m_Name: btnClose
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2301976032773426488
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4429861657249252914}
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: 1898062891218592809}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -698}
m_SizeDelta: {x: 0, y: 1396}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1136773485273313322
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4429861657249252914}
m_CullTransparentMesh: 1
--- !u!114 &5668863260832483449
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4429861657249252914}
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: 0}
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!114 &7508478119492860970
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4429861657249252914}
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: 5668863260832483449}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &4435824182534125513
GameObject:
m_ObjectHideFlags: 0
@ -20766,9 +20888,9 @@ RectTransform:
m_Father: {fileID: 1898062891218592809}
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: 1080, y: 90}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 429}
m_SizeDelta: {x: 0, y: 90}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7628058713311260211
CanvasRenderer:
@ -20820,6 +20942,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7fbd1b3f2a2b48edbfc82232dc149d9e, type: 3}
m_Name:
m_EditorClassIdentifier:
fonts: []
item: {fileID: 5723747509138216065}
keyboard: {fileID: 156921964087653224}
--- !u!114 &4571834522108411880
@ -25778,7 +25901,7 @@ RectTransform:
m_Father: {fileID: 5623190699610357782}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@ -27131,7 +27254,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &5593306032829495570
RectTransform:
m_ObjectHideFlags: 0
@ -27147,9 +27270,9 @@ RectTransform:
- {fileID: 4633693858255853623}
m_Father: {fileID: 1976122915658153425}
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_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 110, y: -43}
m_SizeDelta: {x: 200, y: 67.2806}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &9168952086722509805

File diff suppressed because it is too large Load Diff

View File

@ -2467,6 +2467,7 @@ GameObject:
- component: {fileID: 8269503111958277998}
- component: {fileID: 8862440523565410231}
- component: {fileID: 1830165394527877159}
- component: {fileID: 8463181961750611200}
m_Layer: 5
m_Name: inpMonetary
m_TagString: Untagged
@ -2633,6 +2634,18 @@ MonoBehaviour:
isAlert: 0
m_InputValidator: {fileID: 0}
m_ShouldActivateOnSelect: 1
--- !u!114 &8463181961750611200
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2987875657817804508}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9d150c439c2b42ecba8b21e31d894f42, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &3176857349424249890
GameObject:
m_ObjectHideFlags: 0
@ -3272,6 +3285,7 @@ GameObject:
- component: {fileID: 8765446914423682086}
- component: {fileID: 2366150825238191710}
- component: {fileID: 5681778140588839844}
- component: {fileID: 1205897437053248188}
m_Layer: 5
m_Name: InputField (TMP)
m_TagString: Untagged
@ -3438,6 +3452,18 @@ MonoBehaviour:
isAlert: 0
m_InputValidator: {fileID: 0}
m_ShouldActivateOnSelect: 1
--- !u!114 &1205897437053248188
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5094289137624361863}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9d150c439c2b42ecba8b21e31d894f42, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &5210388018673849816
GameObject:
m_ObjectHideFlags: 0
@ -3450,6 +3476,7 @@ GameObject:
- component: {fileID: 7760294762313346307}
- component: {fileID: 6600774049122744488}
- component: {fileID: 219911778241660687}
- component: {fileID: 4966288039958945021}
m_Layer: 5
m_Name: InputField (TMP)
m_TagString: Untagged
@ -3616,6 +3643,18 @@ MonoBehaviour:
isAlert: 0
m_InputValidator: {fileID: 0}
m_ShouldActivateOnSelect: 1
--- !u!114 &4966288039958945021
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5210388018673849816}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9d150c439c2b42ecba8b21e31d894f42, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &5283708863674497064
GameObject:
m_ObjectHideFlags: 0
@ -3628,6 +3667,7 @@ GameObject:
- component: {fileID: 6255594880523408236}
- component: {fileID: 3241694080705560614}
- component: {fileID: 199864794355875391}
- component: {fileID: 8269759784121074515}
m_Layer: 5
m_Name: InputField (TMP)
m_TagString: Untagged
@ -3794,6 +3834,18 @@ MonoBehaviour:
isAlert: 0
m_InputValidator: {fileID: 0}
m_ShouldActivateOnSelect: 1
--- !u!114 &8269759784121074515
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5283708863674497064}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9d150c439c2b42ecba8b21e31d894f42, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &5310458281594769276
GameObject:
m_ObjectHideFlags: 0
@ -4044,6 +4096,7 @@ GameObject:
- component: {fileID: 2022501334842671453}
- component: {fileID: 4998829030398334657}
- component: {fileID: 4592481268695903266}
- component: {fileID: 674447873882460522}
m_Layer: 5
m_Name: InputField (TMP)
m_TagString: Untagged
@ -4210,6 +4263,18 @@ MonoBehaviour:
isAlert: 0
m_InputValidator: {fileID: 0}
m_ShouldActivateOnSelect: 1
--- !u!114 &674447873882460522
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5831527139729244457}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9d150c439c2b42ecba8b21e31d894f42, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &6162406169002083315
GameObject:
m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

View File

@ -119,6 +119,150 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &45878604
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 911148404}
m_Modifications:
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_SizeDelta.y
value: 1920
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 960
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2286084642763046842, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_Name
value: Keyboard
objectReference: {fileID: 0}
- target: {fileID: 3511634503476816904, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3511634503476816904, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5831870152080845878, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5831870152080845878, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ec1221012f9c7084492b9007422cc1b7, type: 3}
--- !u!224 &45878605 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 1898062891218592809, guid: ec1221012f9c7084492b9007422cc1b7,
type: 3}
m_PrefabInstance: {fileID: 45878604}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &104010710
PrefabInstance:
m_ObjectHideFlags: 0
@ -585,6 +729,108 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 749658595}
m_PrefabAsset: {fileID: 0}
--- !u!1 &911148403
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 911148404}
- component: {fileID: 911148407}
- component: {fileID: 911148406}
- component: {fileID: 911148405}
m_Layer: 5
m_Name: Keyboard
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &911148404
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 911148403}
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: 45878605}
m_Father: {fileID: 2019355793}
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!114 &911148405
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 911148403}
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: 247
--- !u!114 &911148406
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 911148403}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!223 &911148407
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 911148403}
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: 999
m_TargetDisplay: 0
--- !u!1 &1090554212
GameObject:
m_ObjectHideFlags: 0
@ -1013,6 +1259,7 @@ Transform:
- {fileID: 1133335653}
- {fileID: 893802112}
- {fileID: 104010711}
- {fileID: 911148404}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2019355794

View File

@ -8,7 +8,7 @@ namespace HK.Keyboard
{
public class FontsChange : MonoBehaviour
{
List<TMP_FontAsset> fonts = new List<TMP_FontAsset>();
[SerializeField] List<TMP_FontAsset> fonts = new List<TMP_FontAsset>();
public GameObject item;
public Keyboard keyboard;

View File

@ -2,21 +2,25 @@
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using ZGame;
namespace HK.Keyboard
{
public class Keyboard : MonoBehaviour
public class Keyboard : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
public TMP_InputField inputField;
public GameObject AlphaBoardUnshifted;
public GameObject AlphaBoardShifted;
public GameObject NumBoardUnshifted;
public GameObject NumBoardShifted;
public Button btnClickClose;
public Keyboard_Chin chin;
private List<KeyBind> keyBinds;
private List<KeyBind> keyBinds_Switch;
public Action OKAction;
private Action OKAction;
public bool isHideOnAwake = false;
private bool isChin
@ -39,15 +43,35 @@ namespace HK.Keyboard
}
isChin = false;
inputField.shouldHideSoftKeyboard = true;
chin.selectedAction += ClickKey;
btnClickClose.onClick.AddListener(ClickClose);
inputField.onSelect.AddListener((a) => { gameObject.SetActive(true); });
ShowOnlyOne(AlphaBoardUnshifted);
if (isHideOnAwake)
{
gameObject.SetActive(false);
}
EventManager.Instance.Subscribe(OpenKeyboardEventArgs.EventId, OpenKeyboardEvent);
}
private void ClickClose()
{
gameObject.SetActive(false);
}
private void OnDestroy()
{
btnClickClose.onClick.RemoveListener(ClickClose);
EventManager.Instance.Unsubscribe(OpenKeyboardEventArgs.EventId, OpenKeyboardEvent);
}
private void OpenKeyboardEvent(object sender, GameEventArgs e)
{
var args = e as OpenKeyboardEventArgs;
inputField = args.inputField;
OKAction = args.OKAction;
gameObject.SetActive(true);
}
void ShowOnlyOne(GameObject go)
@ -61,10 +85,13 @@ namespace HK.Keyboard
[SerializeField] private string tmp_Chin;
private void Reset()
private void OnDisable()
{
tmp_Chin = "";
isChin = false;
isEnter = false;
OKAction = null;
inputField = null;
foreach (var keyBind in keyBinds_Switch)
keyBind.GetComponentInChildren<TMP_Text>().text = "英/<size=25>中</size>";
ShowOnlyOne(AlphaBoardUnshifted);
@ -99,7 +126,6 @@ namespace HK.Keyboard
switch (keyName)
{
case "Close":
// OKAction?.Invoke();
gameObject.SetActive(false);
return false;
break;
@ -145,6 +171,7 @@ namespace HK.Keyboard
break;
case "OK":
OKAction?.Invoke();
gameObject.SetActive(false);
return false;
break;
case "Switch":
@ -166,5 +193,17 @@ namespace HK.Keyboard
{
inputField.fontAsset = font;
}
private bool isEnter;
public void OnPointerEnter(PointerEventData eventData)
{
isEnter = true;
}
public void OnPointerExit(PointerEventData eventData)
{
isEnter = false;
}
}
}

View File

@ -0,0 +1,21 @@
using System;
using TMPro;
using ZGame;
namespace HK.Keyboard
{
public class OpenKeyboardEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(OpenKeyboardEventArgs).GetHashCode();
public override int Id => EventId;
public TMP_InputField inputField;
public Action OKAction;
public OpenKeyboardEventArgs(TMP_InputField inputField, Action okAction)
{
this.inputField = inputField;
OKAction = okAction;
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 1c07fd3f93ad4ea89ca6a1c69d4e1d6d
timeCreated: 1752393387

View File

@ -0,0 +1,33 @@
using System;
using TMPro;
using UnityEngine;
using ZGame;
namespace HK.Keyboard
{
[RequireComponent(typeof(TMP_InputField))]
public class TMP_InputField_Register : MonoBehaviour
{
TMP_InputField inputField;
public Action OKAction;
private void Awake()
{
inputField = GetComponent<TMP_InputField>();
inputField.shouldHideSoftKeyboard = true;
inputField.onSelect.AddListener(SelectInputField);
}
private void OnDestroy()
{
inputField.onSelect.RemoveListener(SelectInputField);
}
private void SelectInputField(string arg0)
{
EventManager.Instance.FireNow(OpenKeyboardEventArgs.EventId,
new OpenKeyboardEventArgs(inputField, OKAction));
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 9d150c439c2b42ecba8b21e31d894f42
timeCreated: 1752393724

View File

@ -1,8 +1,10 @@
using System;
using HK.Keyboard;
using Runtime;
using UnityEngine.UI;
using TMPro;
using UnityEngine;
using UnityEngine.Serialization;
using ZGame;
namespace HK
@ -12,8 +14,7 @@ namespace HK
[SerializeField] private Button btnPositionUp;
[SerializeField] private Button btnPositionMiddle;
[SerializeField] private Button btnPositionDown;
// [SerializeField] private TMP_InputField inpContent;
[SerializeField] private Keyboard.Keyboard keyboard;
[SerializeField] private TMP_InputField_Register tmpInputFieldRegister;
Book_M book;
public Action ClickAction;
@ -31,8 +32,7 @@ namespace HK
btnPositionUp = GetValue<Button>("btnPositionUp");
btnPositionMiddle = GetValue<Button>("btnPositionMiddle");
btnPositionDown = GetValue<Button>("btnPositionDown");
// inpContent = GetValue<TMP_InputField>("inpContent");
keyboard = GetValue<Keyboard.Keyboard>("Keyboard");
tmpInputFieldRegister = GetValue<TMP_InputField_Register>("inpContent");
btnPositionUp.onClick.AddListener(OnClickbtnPositionUp);
btnPositionMiddle.onClick.AddListener(OnClickbtnPositionMiddle);
@ -40,8 +40,7 @@ namespace HK
#endregion
// inpContent.gameObject.SetActive(false);
keyboard.OKAction += ClickOK;
tmpInputFieldRegister.OKAction += ClickOK;
OnClickbtnPositionUp();
}

View File

@ -64,9 +64,9 @@ namespace Runtime.UI
public void SaveData()
{
currentData.Count = int.Parse(txtCount.text);
var key = $"{currentData.GetType().Name}_{currentData.ID}";
PlayerPersistent.SetInt(key, currentData.Count);
currentData.Count = int.Parse(txtCount.text);
}
}
}

View File

@ -38,6 +38,10 @@ namespace Runtime.UI
public void SaveData()
{
currentData.BookPrice = int.Parse(bookPrice.text);
currentData.DesignPrice = int.Parse(designPrice.text);
currentData.DiscountPrice = int.Parse(discountPrice.text);
var book = $"{currentData.GetType().Name}_{currentData.ID}_{currentData.BookPrice}";
PlayerPersistent.SetInt(book, currentData.BookPrice);
@ -46,10 +50,6 @@ namespace Runtime.UI
var discount = $"{currentData.GetType().Name}_{currentData.ID}_{currentData.DiscountPrice}";
PlayerPersistent.SetInt(discount, currentData.DiscountPrice);
currentData.BookPrice = int.Parse(bookPrice.text);
currentData.DesignPrice = int.Parse(designPrice.text);
currentData.DiscountPrice = int.Parse(discountPrice.text);
}
}
}

View File

@ -9,9 +9,9 @@
"NoteBookInformationData_1002_15": "15",
"NoteBookInformationData_1002_0": "0",
"monetary": "SGD",
"InventoryData_1001": "100",
"InventoryData_1002": "100",
"InventoryData_1003": "100",
"InventoryData_1001": "1",
"InventoryData_1002": "2",
"InventoryData_1003": "2",
"InventoryData_1004": "100",
"InventoryData_1005": "100",
"InventoryData_1006": "100",