코스튬 완료

This commit is contained in:
Ino 2025-02-15 08:27:00 +09:00
parent 5dad2ef7ae
commit a0e6ecf7aa
10 changed files with 331 additions and 103 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -49,7 +49,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteBorder: {x: 22, y: 0, z: 22, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
@ -139,7 +139,7 @@ TextureImporter:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
internalID: 1537655665
vertices: []
indices:
edges: []

View File

@ -49,7 +49,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteBorder: {x: 21, y: 0, z: 21, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
@ -139,7 +139,7 @@ TextureImporter:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
internalID: 1537655665
vertices: []
indices:
edges: []

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,153 @@
fileFormatVersion: 2
guid: 27d815cb916e1544fb3418dab2c89f49
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
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: 1
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: -1
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: 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
- 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: iPhone
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:

View File

@ -34,8 +34,8 @@ RectTransform:
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: -40, y: 0}
m_SizeDelta: {x: 43, y: 52}
m_AnchoredPosition: {x: -48.9, y: 8}
m_SizeDelta: {x: 31, y: 40}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2495091097744711778
CanvasRenderer:
@ -65,7 +65,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: e8eebb24bec57fe4da6b7f0fd90a2775, type: 3}
m_Sprite: {fileID: 21300000, guid: a9dc009584d77a048b0514af8bbf7b03, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -109,7 +109,7 @@ RectTransform:
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_AnchoredPosition: {x: 63.4, y: 9.3}
m_SizeDelta: {x: 150, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7748470331826829342
@ -275,8 +275,8 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 65f581562538e304cbbfe8ee3beab09c, type: 3}
m_Type: 0
m_Sprite: {fileID: 21300000, guid: 1f4213f1679e640478b781d492e2283d, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@ -311,16 +311,16 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6571767330367817571}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7602970419427123275}
m_Father: {fileID: 3870736129922180048}
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: -199, y: 0}
m_AnchoredPosition: {x: -0.000076293945, y: 0.000012397766}
m_SizeDelta: {x: 150, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6169112177617829720
@ -386,10 +386,10 @@ MonoBehaviour:
m_fontSizeMin: 10
m_fontSizeMax: 40
m_fontStyle: 0
m_HorizontalAlignment: 1
m_HorizontalAlignment: 2
m_VerticalAlignment: 4096
m_textAlignment: 65535
m_characterSpacing: 0
m_characterSpacing: -5
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
@ -433,7 +433,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c2aa95ff1b7adc044bd9372cf2958828, type: 3}
m_Name:
m_EditorClassIdentifier:
m_localtextKey: 0
m_localtextKey: 342
--- !u!1 &7336582814339228709
GameObject:
m_ObjectHideFlags: 0
@ -445,6 +445,7 @@ GameObject:
- component: {fileID: 1890783693246866740}
- component: {fileID: 3871777950150495145}
- component: {fileID: 5398888955945469020}
- component: {fileID: 3659975771831732748}
m_Layer: 5
m_Name: PCInfoUI_CollectionCard
m_TagString: Untagged
@ -487,10 +488,14 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7955ec81a1d3f4c48b1c4c15f3d1067e, type: 3}
m_Name:
m_EditorClassIdentifier:
m_canvasGroup: {fileID: 3659975771831732748}
m_Scroll: {fileID: 5398888955945469020}
texts:
- {fileID: 9010191918086728831}
- {fileID: 8236965573256949005}
- {fileID: 7183848384912568718}
images:
- {fileID: 487408036233570989}
gos:
- {fileID: 467474617955136873}
--- !u!114 &5398888955945469020
@ -508,6 +513,94 @@ MonoBehaviour:
m_ScrollRect: {fileID: 0}
m_Content: {fileID: 7968602867542475926}
go_card: {fileID: 1253780947347394577, guid: 63099ced842b56f4e82f62678c45301c, type: 3}
--- !u!225 &3659975771831732748
CanvasGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7336582814339228709}
m_Enabled: 1
m_Alpha: 1
m_Interactable: 1
m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0
--- !u!1 &7443210056551486193
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3870736129922180048}
- component: {fileID: 3528783463237633897}
- component: {fileID: 487408036233570989}
m_Layer: 5
m_Name: collection
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3870736129922180048
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7443210056551486193}
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: 7021825389546039299}
m_Father: {fileID: 7602970419427123275}
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: -129.3, y: 9.3}
m_SizeDelta: {x: 157.36, y: 41}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3528783463237633897
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7443210056551486193}
m_CullTransparentMesh: 1
--- !u!114 &487408036233570989
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7443210056551486193}
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: 92cae85d17cf004489c522fb2511aab3, 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 &7512269756469281138
GameObject:
m_ObjectHideFlags: 0
@ -541,10 +634,10 @@ RectTransform:
- {fileID: 7502211495768668648}
m_Father: {fileID: 1890783693246866740}
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: -20}
m_SizeDelta: {x: 0, y: 40}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -33.5}
m_SizeDelta: {x: 440, y: 48}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8298480958198904816
CanvasRenderer:
@ -567,14 +660,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.043137256, g: 0.18431373, b: 0.25490198, a: 1}
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: 65f581562538e304cbbfe8ee3beab09c, type: 3}
m_Sprite: {fileID: 21300000, guid: 27d815cb916e1544fb3418dab2c89f49, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -593,8 +686,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 7602970419427123275}
- component: {fileID: 8871803903714064709}
- component: {fileID: 3879205673563887624}
m_Layer: 5
m_Name: bot
m_TagString: Untagged
@ -614,7 +705,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7021825389546039299}
- {fileID: 3870736129922180048}
- {fileID: 2129031587887908325}
- {fileID: 4530388155552042133}
m_Father: {fileID: 1890783693246866740}
@ -624,44 +715,6 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 30}
m_SizeDelta: {x: 0, y: 60}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8871803903714064709
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7687587983115941987}
m_CullTransparentMesh: 1
--- !u!114 &3879205673563887624
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7687587983115941987}
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.2509804, g: 0.2509804, b: 0.2509804, 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: 65f581562538e304cbbfe8ee3beab09c, 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 &7810116383072716659
GameObject:
m_ObjectHideFlags: 0
@ -755,8 +808,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontSize: 35
m_fontSizeBase: 35
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 10
@ -765,7 +818,7 @@ MonoBehaviour:
m_HorizontalAlignment: 2
m_VerticalAlignment: 4096
m_textAlignment: 65535
m_characterSpacing: 0
m_characterSpacing: -3
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
@ -806,7 +859,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 7833934721729138581}
- component: {fileID: 4997518194201534360}
- component: {fileID: 205231232741550161}
m_Layer: 5
m_Name: Content
@ -824,30 +876,16 @@ RectTransform:
m_GameObject: {fileID: 7968602867542475926}
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_LocalScale: {x: 0.66, y: 0.66, z: 0.66}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 1890783693246866740}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: 10}
m_SizeDelta: {x: 0, y: 0}
m_AnchoredPosition: {x: -58.5, y: 3.4}
m_SizeDelta: {x: 0, y: 13.95}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &4997518194201534360
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7968602867542475926}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 2
m_VerticalFit: 0
--- !u!114 &205231232741550161
MonoBehaviour:
m_ObjectHideFlags: 0
@ -866,9 +904,9 @@ MonoBehaviour:
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 3
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
m_Spacing: 20
m_ChildForceExpandWidth: 0
m_ChildForceExpandHeight: 0
m_ChildControlWidth: 0
m_ChildControlHeight: 0
m_ChildScaleWidth: 0

View File

@ -978,7 +978,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &42553751937855882
RectTransform:
m_ObjectHideFlags: 0
@ -988,14 +988,14 @@ RectTransform:
m_GameObject: {fileID: 72861748541100330}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 0, z: -200}
m_LocalScale: {x: 300, y: 300, z: 300}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 351039660577574170}
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -400, y: -384}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 660, y: 55}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &89051422734200648
@ -9844,7 +9844,7 @@ RectTransform:
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: 0}
m_AnchoredPosition: {x: 15.3, y: -0.0000063912025}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &5522327300080818785
@ -97475,8 +97475,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: -282.2, y: -14.859985}
m_SizeDelta: {x: 564.4, y: 622.31}
m_AnchoredPosition: {x: -282.2, y: -16.590027}
m_SizeDelta: {x: 564.4, y: 618.85}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1903587635836921722
CanvasRenderer:

View File

@ -43,10 +43,10 @@ public class PCInfoUI_Center : UI3DModel
RawImage_costume.texture = handle.Result;
});
//Set_3DModel($"Assets/Res_Addr/PC/{costumeData.s_Prefab}.prefab", tr =>
//{
// tr.GetComponent<PCActor>().Set_Obj();
//});
Set_3DModel($"Assets/Res_Addr/PC/{costumeData.s_Prefab}.prefab", tr =>
{
tr.GetComponent<PCActor>().Set_Obj();
});
}
gos[0].SetActive(CanEquip());

View File

@ -1,10 +1,13 @@
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class PCInfoUI_CollectionCard : CardBase
{
public CanvasGroup m_canvasGroup;
public PCInfoUI_CollectionCard_Scroll m_Scroll;
public TextMeshProUGUI[] texts; // 0 이름, 1 능력치
public TextMeshProUGUI[] texts; // 0 이름, 1 능력치, 2 수집효과
public Image[] images; // 0 수집효과
public GameObject[] gos; // 0 잠금
public override void Set<T>(T _base)
@ -14,8 +17,42 @@ public class PCInfoUI_CollectionCard : CardBase
var sdata = ServerInfo.Ins.m_ServerData;
texts[0].text = table_localtext.Ins.Get_Text(data.n_CollectionName);
texts[1].text = MyText.Get_StatNameValueText(data.e_Stat, data.n_StatValue);
gos[0].SetActive(!data.IsCollection(sdata));
m_Scroll.Set(data.list_CostumeID);
var obtaincount = Get_ObtainCostumeCount(data);
if (obtaincount == data.list_CostumeID.Count)
{ // 모두 가지고 있음
m_canvasGroup.alpha = 1f;
gos[0].SetActive(false);
images[0].sprite = UIAtlasMgr.Ins.Get_Sprite("button unlock");
texts[2].color = new Color32(73, 41, 23, 255);
}
else if (obtaincount > 0)
{ // 일부 가지고 있음
m_canvasGroup.alpha = 1f;
gos[0].SetActive(true);
images[0].sprite = UIAtlasMgr.Ins.Get_Sprite("button lock");
texts[2].color = Color.white;
}
else
{ // 아무것도 없음
m_canvasGroup.alpha = 0.5f;
gos[0].SetActive(true);
images[0].sprite = UIAtlasMgr.Ins.Get_Sprite("button lock");
texts[2].color = Color.white;
}
}
int Get_ObtainCostumeCount(PCCostumeCollectionListTableData data)
{
int count = 0;
var sdata = ServerInfo.Ins.m_ServerData;
for (int i = 0; i < data.list_CostumeID.Count; i++)
{
if (sdata.IsObtainItem(data.list_CostumeID[i]))
++count;
}
return count;
}
public void SelectCard_MyCostume()