This commit is contained in:
Ino 2025-09-26 09:11:53 +09:00
parent 0292330311
commit 718fdce996
22 changed files with 1407 additions and 1872 deletions

View File

@ -4,46 +4,46 @@
: 51kg : 51kg
: 35in : 35in
: 24in : 24in
: 35in", "s_ProfileImage": "Girl/1/Coin/01.png"}, {"n_GirlID": "2", "s_Name": "", "s_Profile": ": 26 : 35in", "s_ProfileImage": "Girl/1/Coin/01.png", "s_PersonaId": "SGW_HanYoojin"}, {"n_GirlID": "2", "s_Name": "", "s_Profile": ": 26
: :
: 162cm : 162cm
: 49kg : 49kg
: 33in : 33in
: 23in : 23in
: 33in", "s_ProfileImage": "Girl/2/Coin/01.png"}, {"n_GirlID": "3", "s_Name": "", "s_Profile": ": 24 : 33in", "s_ProfileImage": "Girl/2/Coin/01.png", "s_PersonaId": "SGW_OhYuna"}, {"n_GirlID": "3", "s_Name": "", "s_Profile": ": 24
: :
: 160cm : 160cm
: 52kg : 52kg
: 35in : 35in
: 26in : 26in
: 36in", "s_ProfileImage": "Girl/3/Coin/01.png"}, {"n_GirlID": "4", "s_Name": "", "s_Profile": ": 29 : 36in", "s_ProfileImage": "Girl/3/Coin/01.png", "s_PersonaId": "SGW_KangSoyoon"}, {"n_GirlID": "4", "s_Name": "", "s_Profile": ": 29
: :
: 170cm : 170cm
: 54kg : 54kg
: 33in : 33in
: 24in : 24in
: 34in", "s_ProfileImage": "Girl/4/Coin/01.png"}, {"n_GirlID": "5", "s_Name": "", "s_Profile": ": 23 : 34in", "s_ProfileImage": "Girl/4/Coin/01.png", "s_PersonaId": "SGW_LeeJiwoo"}, {"n_GirlID": "5", "s_Name": "", "s_Profile": ": 23
: :
: 172cm : 172cm
: 55kg : 55kg
: 35in : 35in
: 23in : 23in
: 35in", "s_ProfileImage": "Girl/5/Coin/01.png"}, {"n_GirlID": "6", "s_Name": " ", "s_Profile": ": 21 : 35in", "s_ProfileImage": "Girl/5/Coin/01.png", "s_PersonaId": "SGW_ParkHayoung"}, {"n_GirlID": "6", "s_Name": " ", "s_Profile": ": 21
: :
: 158cm : 158cm
: 46kg : 46kg
: 32in : 32in
: 22in : 22in
: 32in", "s_ProfileImage": "Girl/6/Coin/01.png"}, {"n_GirlID": "7", "s_Name": "", "s_Profile": ": 28 : 32in", "s_ProfileImage": "Girl/6/Coin/01.png", "s_PersonaId": "SGW_Nozomi"}, {"n_GirlID": "7", "s_Name": "", "s_Profile": ": 28
: :
: 168cm : 168cm
: 53kg : 53kg
: 33in : 33in
: 25in : 25in
: 34in", "s_ProfileImage": "Girl/7/Coin/01.png"}, {"n_GirlID": "8", "s_Name": "", "s_Profile": ": 30 : 34in", "s_ProfileImage": "Girl/7/Coin/01.png", "s_PersonaId": "SGW_ChoiHarin"}, {"n_GirlID": "8", "s_Name": "", "s_Profile": ": 30
: :
: 166cm : 166cm
: 52kg : 52kg
: 34in : 34in
: 25in : 25in
: 35in", "s_ProfileImage": "Girl/8/Coin/01.png"}] : 35in", "s_ProfileImage": "Girl/8/Coin/01.png", "s_PersonaId": "SGW_KimSoyoung"}]

Binary file not shown.

View File

@ -4,7 +4,7 @@ using System.Collections.Generic;
public class girltabledata public class girltabledata
{ {
public int n_GirlID; public int n_GirlID;
public string s_Name, s_Profile, s_ProfileImage; public string s_Name, s_Profile, s_ProfileImage, s_PersonaId;
} }

View File

@ -0,0 +1,326 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2576480442683082482
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5831501183867608674}
m_Layer: 5
m_Name: ChatDayCard
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5831501183867608674
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2576480442683082482}
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: 3754413411859350068}
- {fileID: 2438725680287064153}
- {fileID: 9205122397810392455}
m_Father: {fileID: 0}
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: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &3684473757733309340
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3754413411859350068}
- component: {fileID: 378846985701030348}
- component: {fileID: 6938824959120839126}
m_Layer: 5
m_Name: New Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3754413411859350068
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3684473757733309340}
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: 5831501183867608674}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 239, y: 0}
m_SizeDelta: {x: 400, y: 5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &378846985701030348
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3684473757733309340}
m_CullTransparentMesh: 1
--- !u!114 &6938824959120839126
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3684473757733309340}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 122503124698cf1478e227725e93180a, 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 &6036404208405189678
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9205122397810392455}
- component: {fileID: 3795824168457736231}
- component: {fileID: 5813513498720204526}
m_Layer: 5
m_Name: New Image (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &9205122397810392455
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6036404208405189678}
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: 5831501183867608674}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -239, y: 0}
m_SizeDelta: {x: 400, y: 5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3795824168457736231
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6036404208405189678}
m_CullTransparentMesh: 1
--- !u!114 &5813513498720204526
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6036404208405189678}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 122503124698cf1478e227725e93180a, 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 &7328007582401623281
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2438725680287064153}
- component: {fileID: 2407112771421433326}
- component: {fileID: 835655325456466389}
m_Layer: 5
m_Name: t_day
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2438725680287064153
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7328007582401623281}
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: 5831501183867608674}
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: 200, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2407112771421433326
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7328007582401623281}
m_CullTransparentMesh: 1
--- !u!114 &835655325456466389
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7328007582401623281}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Today
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2}
m_sharedMaterial: {fileID: -3574565475228871172, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 0, g: 0, b: 0, 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: 30
m_fontSizeBase: 30
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 25
m_fontSizeMax: 100
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 4096
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_TextWrappingMode: 0
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 0
m_ActiveFontFeatures: 6e72656b
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_EmojiFallbackSupport: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 27e3c5e5bd354114e808da82db00a1cd
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,434 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3743352677983290563
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9018835457892486377}
- component: {fileID: 54877241338458056}
- component: {fileID: 6601472799493614934}
m_Layer: 5
m_Name: i_face
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &9018835457892486377
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3743352677983290563}
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: 7733379320674871851}
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: 70, y: 70}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &54877241338458056
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3743352677983290563}
m_CullTransparentMesh: 1
--- !u!114 &6601472799493614934
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3743352677983290563}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 5f95180d393059b4496eb9e12ad56b6a, 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 &4071440188109648085
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7733379320674871851}
- component: {fileID: 7483340701874384462}
- component: {fileID: 3785049122789816982}
m_Layer: 5
m_Name: frame
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7733379320674871851
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4071440188109648085}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 2, y: 2, z: 2}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 9018835457892486377}
m_Father: {fileID: 7592698914252436080}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 120, y: 0}
m_SizeDelta: {x: 83, y: 83}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7483340701874384462
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4071440188109648085}
m_CullTransparentMesh: 1
--- !u!114 &3785049122789816982
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4071440188109648085}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: df59194ef0102c44a89c0223b167824f, 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 &6396360707933695324
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7592698914252436080}
- component: {fileID: 6023413915540020020}
- component: {fileID: 7882109500455918087}
m_Layer: 5
m_Name: ChatGirlCard
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7592698914252436080
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6396360707933695324}
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: 7733379320674871851}
- {fileID: 7647160156308482410}
m_Father: {fileID: 0}
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: 180}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &6023413915540020020
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6396360707933695324}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d7ccc17439b405b44a0b0c33e6bca2f1, type: 3}
m_Name:
m_EditorClassIdentifier:
i_girl: {fileID: 6601472799493614934}
t_msg: {fileID: 2631267379647211336}
--- !u!114 &7882109500455918087
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6396360707933695324}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 32ca1f1f25f9cb04a95a3c78caa222f5, type: 3}
m_Name:
m_EditorClassIdentifier:
myRect: {fileID: 7592698914252436080}
tmpText: {fileID: 2631267379647211336}
imageRect: {fileID: 7647160156308482410}
padding: {x: 90, y: 20}
--- !u!1 &8059625087984987468
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7647160156308482410}
- component: {fileID: 8241906285808185492}
- component: {fileID: 2211690205074651331}
m_Layer: 5
m_Name: speech
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7647160156308482410
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8059625087984987468}
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: 2408190887360958804}
m_Father: {fileID: 7592698914252436080}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 624.395, y: -6.4}
m_SizeDelta: {x: 721.39, y: 70}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8241906285808185492
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8059625087984987468}
m_CullTransparentMesh: 1
--- !u!114 &2211690205074651331
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8059625087984987468}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: eb9236fc8fbde594e831f8ce98d823e3, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &8729633478666915717
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2408190887360958804}
- component: {fileID: 1050306237665962245}
- component: {fileID: 2631267379647211336}
m_Layer: 5
m_Name: t_script
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2408190887360958804
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8729633478666915717}
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: 7647160156308482410}
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: -223, y: 0}
m_SizeDelta: {x: 200, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1050306237665962245
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8729633478666915717}
m_CullTransparentMesh: 1
--- !u!114 &2631267379647211336
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8729633478666915717}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C\uC2ED."
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2}
m_sharedMaterial: {fileID: -3574565475228871172, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, 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: 40
m_fontSizeBase: 40
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 25
m_fontSizeMax: 100
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 4096
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_TextWrappingMode: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 0
m_ActiveFontFeatures: 6e72656b
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_EmojiFallbackSupport: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: -464.92725, 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}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 478c75190a3751c4c8509f0365630070
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,281 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2365390983220479751
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1351531418710390664}
- component: {fileID: 2240701891541434980}
- component: {fileID: 4203345674970892074}
m_Layer: 5
m_Name: New TMP
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1351531418710390664
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2365390983220479751}
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: 8065333956043910739}
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: 465, y: 0}
m_SizeDelta: {x: 200, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2240701891541434980
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2365390983220479751}
m_CullTransparentMesh: 1
--- !u!114 &4203345674970892074
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2365390983220479751}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\uCC44\uD305"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2}
m_sharedMaterial: {fileID: -3574565475228871172, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 0, g: 0, b: 0, 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: 40
m_fontSizeBase: 40
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 25
m_fontSizeMax: 100
m_fontStyle: 0
m_HorizontalAlignment: 4
m_VerticalAlignment: 4096
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_TextWrappingMode: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 0
m_ActiveFontFeatures: 6e72656b
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_EmojiFallbackSupport: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: -660.3475, y: 0, z: 84.9621, 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 &6578855162245517723
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4406804693992742134}
- component: {fileID: 7406334379012997099}
- component: {fileID: 7596689392997399734}
m_Layer: 5
m_Name: New Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4406804693992742134
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6578855162245517723}
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: 8065333956043910739}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -25, y: 0}
m_SizeDelta: {x: 100, y: 70}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &7406334379012997099
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6578855162245517723}
m_CullTransparentMesh: 1
--- !u!114 &7596689392997399734
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6578855162245517723}
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: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 07959748ac7f69b48bd55c3d75bac6f8, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &7410605605743965737
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8065333956043910739}
- component: {fileID: 1376019250016146285}
- component: {fileID: 1300624482553067667}
m_Layer: 5
m_Name: ChatMyCard
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8065333956043910739
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7410605605743965737}
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: 4406804693992742134}
- {fileID: 1351531418710390664}
m_Father: {fileID: 0}
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: 180}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1376019250016146285
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7410605605743965737}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: eca62a30839c83949887f943f5f59798, type: 3}
m_Name:
m_EditorClassIdentifier:
t_msg: {fileID: 4203345674970892074}
--- !u!114 &1300624482553067667
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7410605605743965737}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 32ca1f1f25f9cb04a95a3c78caa222f5, type: 3}
m_Name:
m_EditorClassIdentifier:
myRect: {fileID: 8065333956043910739}
tmpText: {fileID: 4203345674970892074}
imageRect: {fileID: 4406804693992742134}
padding: {x: 90, y: 20}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 48a2809218af1f441b4737ea534b01a5
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -369,6 +369,25 @@ public class SaveMgr : MonoBehaviourSingletonTemplate<SaveMgr>
public bool GachaChargeTime_Reduce() { return m_SaveData.LuckyGameCharge; } public bool GachaChargeTime_Reduce() { return m_SaveData.LuckyGameCharge; }
public bool IsInfinityMiniGame() { return m_SaveData.InfinityMiniGame; } public bool IsInfinityMiniGame() { return m_SaveData.InfinityMiniGame; }
public void Add_ChatData(int girlid, string converid, ChatHistory history)
{
var data = m_SaveData.list_ChatSaveData.Find(f=>f.GirlID == girlid);
if (data == null)
{
data = new ChatSaveData { GirlID = girlid };
m_SaveData.list_ChatSaveData.Add(data);
}
if (!string.IsNullOrEmpty(converid)) data.conversationId = converid;
data.histories.Add(history);
if (data.histories.Count > 20) data.histories.RemoveAt(0);
Save();
}
public ChatSaveData Get_ChatSaveData_orNull(int girlid)
{
return m_SaveData.list_ChatSaveData.Find(f => f.GirlID == girlid);
}
public class SaveData public class SaveData
{ {
public bool bSound, bBgm; public bool bSound, bBgm;
@ -404,6 +423,7 @@ public class SaveMgr : MonoBehaviourSingletonTemplate<SaveMgr>
ProtectedBool _BuyShopDisableOne2; public bool BuyShopDisableOne2 { get { return _BuyShopDisableOne2; } set { _BuyShopDisableOne2 = value; _BuyShopDisableOne2.Obfuscate(); } } ProtectedBool _BuyShopDisableOne2; public bool BuyShopDisableOne2 { get { return _BuyShopDisableOne2; } set { _BuyShopDisableOne2 = value; _BuyShopDisableOne2.Obfuscate(); } }
public List<ShopADSaveData> list_ShopLimit = new List<ShopADSaveData>(); public List<ShopADSaveData> list_ShopLimit = new List<ShopADSaveData>();
public List<ChatSaveData> list_ChatSaveData = new List<ChatSaveData>();
} }
public class ShopADSaveData public class ShopADSaveData
@ -411,4 +431,11 @@ public class SaveMgr : MonoBehaviourSingletonTemplate<SaveMgr>
public string ShopID; public string ShopID;
ProtectedInt32 _Count; public int Count { get { return _Count; } set { _Count = value; _Count.Obfuscate(); } } ProtectedInt32 _Count; public int Count { get { return _Count; } set { _Count = value; _Count.Obfuscate(); } }
} }
public class ChatSaveData
{
public int GirlID;
public string conversationId;
public List<ChatHistory> histories = new List<ChatHistory>();
}
} }

8
Assets/Scripts/Chat.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 856f650a1cb2ba14ea29f4fa11d9bbf6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class ChatGirlCard : MonoBehaviour
{
public Image i_girl;
public TextMeshProUGUI t_msg;
public void Set(int girlid, string msg)
{
t_msg.text = msg;
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: d7ccc17439b405b44a0b0c33e6bca2f1

View File

@ -0,0 +1,12 @@
using TMPro;
using UnityEngine;
public class ChatMyCard : MonoBehaviour
{
public TextMeshProUGUI t_msg;
public void Set(string msg)
{
t_msg.text = msg;
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: eca62a30839c83949887f943f5f59798

View File

@ -0,0 +1,166 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using TMPro;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;
public class ChatUI : MonoBehaviour
{
public TextMeshProUGUI[] texts; // 0 이름
public ScrollRect m_ScrollRect;
public Transform tf_parent;
public GameObject go_chatGirlCard, go_chatMyCard, go_dayCard, go_pictureCard;
public TMP_InputField if_msg;
List<GameObject> list_chat = new List<GameObject>();
girltabledata m_Data;
public void Set(girltabledata data)
{
gameObject.SetActive(true);
m_Data = data;
texts[0].text = m_Data.s_Name;
ADInfo.Ins.Set_Banner(false);
for (int i = 0; i < list_chat.Count; i++)
Destroy(list_chat[i]);
list_chat.Clear();
var chatdata = SaveMgr.Ins.Get_ChatSaveData_orNull(m_Data.n_GirlID);
if (chatdata != null)
for (int i = 0; i < chatdata.histories.Count; i++)
Set_Chat(chatdata.histories[i]);
}
private void OnDisable()
{
ADInfo.Ins.Set_Banner(true);
}
void Set_Chat(ChatHistory chat)
{
if (chat.role.Equals("girl"))
{
var chatscript = DSUtil.Get_Clone<ChatGirlCard>(go_chatGirlCard, tf_parent);
chatscript.Set(m_Data.n_GirlID, chat.content);
list_chat.Add(chatscript.gameObject);
}
else if (chat.role.Equals("me"))
{
var chatscript = DSUtil.Get_Clone<ChatMyCard>(go_chatMyCard, tf_parent);
chatscript.Set(chat.content);
list_chat.Add(chatscript.gameObject);
}
Invoke("Set_ScrollEnd", Time.deltaTime);
}
void Set_ScrollEnd()
{
Canvas.ForceUpdateCanvases();
m_ScrollRect.verticalNormalizedPosition = 0;
}
public void OnClick_Send()
{
StartCoroutine(Send_Chat());
}
IEnumerator Send_Chat()
{
if (string.IsNullOrEmpty(if_msg.text)) yield break;
var myhistory = new ChatHistory
{
role = "me",
content = if_msg.text,
timestamp = InternetTime.Ins.Time.ToString()
};
// 내 히스토리 추가
SaveMgr.Ins.Add_ChatData(m_Data.n_GirlID, "", myhistory);
Set_Chat(myhistory);
string chaturl = $"https://navistalk-yrtti2co7a-dt.a.run.app/personas/{m_Data.s_PersonaId}/chat";
var token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJnYW1lSWQiOiJzaGVnb3R3ZXQiLCJwYXJ0bmVySWQiOiJ0b25ld29ya2VyIiwiZ2FtZVRva2VuIjoiZ2FtZVRva2VuMjIyMyIsImlhdCI6MTc1ODc4OTE5N30.BU52nWyA6oNtiPNoiO6z9J6B9xYxnTOr_bD-z_Xrw10";
var chatsaveData = SaveMgr.Ins.Get_ChatSaveData_orNull(m_Data.n_GirlID);
// ChatData 객체 생성
ChatData chatData = new ChatData
{
message = if_msg.text,
conversationId = chatsaveData == null ? "" : chatsaveData.conversationId,
userLanguage = "ko",
histories = chatsaveData == null ? new List<ChatHistory>() : chatsaveData.histories
};
// JSON 변환
string jsonData = JsonUtility.ToJson(chatData);
byte[] bodyRaw = Encoding.UTF8.GetBytes(jsonData);
using (UnityWebRequest www = new UnityWebRequest(chaturl, "POST"))
{
www.uploadHandler = new UploadHandlerRaw(bodyRaw);
www.downloadHandler = new DownloadHandlerBuffer();
// 헤더 설정
www.SetRequestHeader("Content-Type", "application/json");
www.SetRequestHeader("Accept", "application/json");
www.SetRequestHeader("Authorization", "Bearer " + token);
if_msg.text = "";
yield return www.SendWebRequest();
if (www.result == UnityWebRequest.Result.Success)
{
ChatResponeData data = JsonUtility.FromJson<ChatResponeData>(www.downloadHandler.text);
var girlchathistory = new ChatHistory
{
role = "girl",
content = data.response,
timestamp = InternetTime.Ins.Time.ToString()
};
// 걸 히스토리 추가
SaveMgr.Ins.Add_ChatData(m_Data.n_GirlID, data.conversationId, girlchathistory);
Set_Chat(girlchathistory);
}
else
{
Debug.LogError("Error: " + www.error);
}
}
}
}
[Serializable]
public class ChatHistory
{ // 최대 20개
public string role;
public string content;
public string timestamp;
}
[Serializable]
public class ChatData
{
public string message;
public string conversationId;
//public string userId;
public string userLanguage = "ko";
public List<ChatHistory> histories;
}
[Serializable]
public class ChatResponeData
{
public string ok;
public string response;
public string conversationId;
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 84e2dd12cf508214ab4654169fac4cf9

View File

@ -16,6 +16,7 @@ public class LobbyUI : MonoBehaviourSingletonTemplate<LobbyUI>
[SerializeField] LobbyCenterProfileUI m_LobbyCenterProfileUI; [SerializeField] LobbyCenterProfileUI m_LobbyCenterProfileUI;
public AlbumUI m_AlbumUI; public AlbumUI m_AlbumUI;
[SerializeField] GachaUI m_GachaUI; [SerializeField] GachaUI m_GachaUI;
public ChatUI m_ChatUI;
[Header("Bot UI")] [Header("Bot UI")]
[SerializeField] GameObject[] gos_homeBot; // 게임 버튼 [SerializeField] GameObject[] gos_homeBot; // 게임 버튼

View File

@ -48,8 +48,8 @@ public class ProfileCard : MonoBehaviour
i_openbtn.sprite = UIAtlasMgr.Ins.Get_Sprite(CanOpen() ? "red btn long" : "black btn"); i_openbtn.sprite = UIAtlasMgr.Ins.Get_Sprite(CanOpen() ? "red btn long" : "black btn");
go_viewbtn.SetActive(count == 0); go_viewbtn.SetActive(count == 0);
go_albumbtn.SetActive(count > 0); go_albumbtn.SetActive(count > 0);
//go_chatbtn.SetActive(count > 0); go_chatbtn.SetActive(count > 0);
go_chatbtn.SetActive(false); // 게등위 테스트 //go_chatbtn.SetActive(false); // 게등위 테스트
} }
bool CanOpen() bool CanOpen()
@ -70,7 +70,7 @@ public class ProfileCard : MonoBehaviour
public void OnClick_Chat() public void OnClick_Chat()
{ {
LobbyUI.Ins.m_ChatUI.Set(m_Data);
} }
public void OnClick_Preview() public void OnClick_Preview()

View File

@ -0,0 +1,26 @@
using TMPro;
using UnityEngine;
[RequireComponent(typeof(RectTransform))]
public class TMPImageResizer : MonoBehaviour
{
public RectTransform myRect;
public TMP_Text tmpText; // 글자를 가진 TextMeshProUGUI
public RectTransform imageRect; // 크기를 조절할 Image의 RectTransform
public Vector2 padding = new Vector2(20, 20); // 텍스트 주변 여백
public Vector2 myRectPadding = new Vector2(0, 20);
void Update()
{
if (tmpText == null || imageRect == null) return;
// TMP 실제 크기
Vector2 size = tmpText.textBounds.size;
float currentWidth = size.x + padding.x;
float currentHeight = size.y + padding.y;
// Image 크기 변경
imageRect.sizeDelta = new Vector2(currentWidth, currentHeight);
myRect.sizeDelta = new Vector2(myRect.sizeDelta.x, currentHeight + myRectPadding.y);
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 32ca1f1f25f9cb04a95a3c78caa222f5