Browse Source

ui替换0623

pull/132/head
45 6 months ago
parent
commit
732c4e66d7
  1. BIN
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0621_icon/图层 588.png
  2. 127
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0621_icon/图层 588.png.meta
  3. 8
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版.meta
  4. BIN
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_斜分隔符.png
  5. 127
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_斜分隔符.png.meta
  6. BIN
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_金币.png
  7. 127
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_金币.png.meta
  8. BIN
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_锻造.png
  9. 127
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_锻造.png.meta
  10. BIN
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选模板.jpg
  11. 127
      ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选模板.jpg.meta
  12. 4
      ColorlessWorld-2024-4-2/Assets/GameDate/PotionList.asset
  13. 455
      ColorlessWorld-2024-4-2/Assets/Prefab/PotionPrefab/PotionGetNode.prefab
  14. 7
      ColorlessWorld-2024-4-2/Assets/Prefab/PotionPrefab/PotionGetNode.prefab.meta
  15. 23562
      ColorlessWorld-2024-4-2/Assets/Scenes/CampPoint.unity
  16. 19800
      ColorlessWorld-2024-4-2/Assets/Scenes/CardAddPoint.unity
  17. 22308
      ColorlessWorld-2024-4-2/Assets/Scenes/CardDeletePonit.unity
  18. 20
      ColorlessWorld-2024-4-2/Assets/Scenes/Event.unity
  19. 23710
      ColorlessWorld-2024-4-2/Assets/Scenes/ForgingPoint.unity
  20. 22456
      ColorlessWorld-2024-4-2/Assets/Scenes/Map.unity
  21. 20069
      ColorlessWorld-2024-4-2/Assets/Scenes/PotionPoint.unity
  22. 22329
      ColorlessWorld-2024-4-2/Assets/Scenes/ResourcePoint.unity
  23. 23350
      ColorlessWorld-2024-4-2/Assets/Scenes/Shop.unity
  24. 33419
      ColorlessWorld-2024-4-2/Assets/Scenes/StartPoint.unity
  25. 19996
      ColorlessWorld-2024-4-2/Assets/Scenes/TreasurePoint.unity
  26. 29
      ColorlessWorld-2024-4-2/Assets/Scripts/PotionPoint/PotionGetNode.cs
  27. 11
      ColorlessWorld-2024-4-2/Assets/Scripts/PotionPoint/PotionGetNode.cs.meta
  28. 46
      ColorlessWorld-2024-4-2/Assets/Scripts/PotionPoint/PotionPointManager.cs
  29. 68
      ColorlessWorld-2024-4-2/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset
  30. 71
      ColorlessWorld-2024-4-2/Assets/TextMesh Pro/Resources/Fonts & Materials/msyhbd SDF.asset

BIN
ColorlessWorld-2024-4-2/Assets/ArtAssets/0621_icon/图层 588.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

127
ColorlessWorld-2024-4-2/Assets/ArtAssets/0621_icon/图层 588.png.meta

@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: bca7540aabce3e3458294aaccf5e0660
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: -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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

8
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版.meta

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

BIN
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_斜分隔符.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

127
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_斜分隔符.png.meta

@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: 15057826e8801e44f9700a970b1fa9ea
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: -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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_金币.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

127
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_金币.png.meta

@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: 9f18b69a01c32d54999abe3e0c4c8a70
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: -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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_锻造.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

127
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选_锻造.png.meta

@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: f1da3068eb5b1a14aaffccc85099acac
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: -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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选模板.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 KiB

127
ColorlessWorld-2024-4-2/Assets/ArtAssets/0622_宝箱三选排版/宝箱三选模板.jpg.meta

@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: 136ace76650741e4f96deeecdd57d8d5
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: -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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

4
ColorlessWorld-2024-4-2/Assets/GameDate/PotionList.asset

@ -13,6 +13,4 @@ MonoBehaviour:
m_Name: PotionList
m_EditorClassIdentifier:
potionList:
- 6001
- 6002
- 6003
- 6005

455
ColorlessWorld-2024-4-2/Assets/Prefab/PotionPrefab/PotionGetNode.prefab

@ -0,0 +1,455 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &205943790921223729
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8564903084177036944}
- component: {fileID: 3731080806205593974}
- component: {fileID: 3587420188133040792}
m_Layer: 5
m_Name: NameText (Legacy) (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8564903084177036944
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 205943790921223729}
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: 4385047473017594181}
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: 1.89, y: -305.56}
m_SizeDelta: {x: 235.73, y: 183.89}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3731080806205593974
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 205943790921223729}
m_CullTransparentMesh: 1
--- !u!114 &3587420188133040792
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 205943790921223729}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, 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_FontData:
m_Font: {fileID: 12800000, guid: e59eb77956527a8429f97f3812601d51, type: 3}
m_FontSize: 30
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 47
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u6548\u679C\u63CF\u8FF0"
--- !u!1 &3094568186269217780
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5203298894312361356}
- component: {fileID: 1515793098944409100}
- component: {fileID: 4171603039625605057}
- component: {fileID: 1506995502226903411}
- component: {fileID: 6464663580804663638}
m_Layer: 5
m_Name: PotionGetNode
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5203298894312361356
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3094568186269217780}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.000049789138}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4385047473017594181}
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: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1515793098944409100
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3094568186269217780}
m_CullTransparentMesh: 1
--- !u!114 &4171603039625605057
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3094568186269217780}
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: 21300000, guid: b50239b1f216b4442b0272436aa4a3f7, 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!114 &1506995502226903411
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3094568186269217780}
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: 4171603039625605057}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 6464663580804663638}
m_TargetAssemblyTypeName: PotionGetNode, Assembly-CSharp
m_MethodName: GetPotion
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &6464663580804663638
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3094568186269217780}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4c122e276f6b4ff4385d3c9efbbfa296, type: 3}
m_Name:
m_EditorClassIdentifier:
potionID:
potionIcon: {fileID: 7784607822727812444}
potionNameText: {fileID: 4266349893317398236}
potionDescriptionText: {fileID: 3587420188133040792}
--- !u!1 &5889122577591264411
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7166434787620053695}
- component: {fileID: 5570709375377718311}
- component: {fileID: 4266349893317398236}
m_Layer: 5
m_Name: NameText (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7166434787620053695
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5889122577591264411}
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: 4385047473017594181}
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: 1.86, y: -146.38}
m_SizeDelta: {x: 329.78, y: 72.76}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5570709375377718311
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5889122577591264411}
m_CullTransparentMesh: 1
--- !u!114 &4266349893317398236
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5889122577591264411}
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: "\u540D\u5B57"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: dffdd6a45797ab24caa3292f27a985bb, type: 2}
m_sharedMaterial: {fileID: -510593548764063059, guid: dffdd6a45797ab24caa3292f27a985bb,
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: 35
m_fontSizeBase: 35
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_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 &6707372216382033574
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4385047473017594181}
- component: {fileID: 8028074916139201391}
- component: {fileID: 7784607822727812444}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4385047473017594181
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6707372216382033574}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.0000020905}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7166434787620053695}
- {fileID: 8564903084177036944}
m_Father: {fileID: 5203298894312361356}
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: 154}
m_SizeDelta: {x: 130, y: 130}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8028074916139201391
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6707372216382033574}
m_CullTransparentMesh: 1
--- !u!114 &7784607822727812444
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6707372216382033574}
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

7
ColorlessWorld-2024-4-2/Assets/Prefab/PotionPrefab/PotionGetNode.prefab.meta

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

23562
ColorlessWorld-2024-4-2/Assets/Scenes/CampPoint.unity

File diff suppressed because it is too large

19800
ColorlessWorld-2024-4-2/Assets/Scenes/CardAddPoint.unity

File diff suppressed because it is too large

22308
ColorlessWorld-2024-4-2/Assets/Scenes/CardDeletePonit.unity

File diff suppressed because it is too large

20
ColorlessWorld-2024-4-2/Assets/Scenes/Event.unity

@ -311,8 +311,8 @@ 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: -137.37993, y: -30.960037}
m_SizeDelta: {x: 44.66, y: 74.21}
m_AnchoredPosition: {x: -136.62, y: -30.960037}
m_SizeDelta: {x: 40.22, y: 74.21}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &45675286
MonoBehaviour:
@ -11989,8 +11989,8 @@ 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: -41.550026, y: 6.100052}
m_SizeDelta: {x: 441.58, y: 45.264}
m_AnchoredPosition: {x: -40.52, y: 6.03}
m_SizeDelta: {x: 439.54, y: 21.27}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1155412213
MonoBehaviour:
@ -12005,14 +12005,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Color: {r: 1, g: 1, b: 1, a: 0.5803922}
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: 742b9459c8f737a41b6b00792c68c560, type: 3}
m_Sprite: {fileID: 21300000, guid: bca7540aabce3e3458294aaccf5e0660, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -13961,8 +13961,8 @@ 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: -70.88006, y: -30.957668}
m_SizeDelta: {x: 44.66, y: 74.205}
m_AnchoredPosition: {x: -70.62, y: -30.957668}
m_SizeDelta: {x: 39.51, y: 74.21}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1384867844
MonoBehaviour:
@ -22752,8 +22752,8 @@ 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: 63.020004, y: -30.957668}
m_SizeDelta: {x: 44.66, y: 74.205}
m_AnchoredPosition: {x: 63.09, y: -30.957668}
m_SizeDelta: {x: 39.31, y: 74.21}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2112902848
MonoBehaviour:

23710
ColorlessWorld-2024-4-2/Assets/Scenes/ForgingPoint.unity

File diff suppressed because it is too large

22456
ColorlessWorld-2024-4-2/Assets/Scenes/Map.unity

File diff suppressed because it is too large

20069
ColorlessWorld-2024-4-2/Assets/Scenes/PotionPoint.unity

File diff suppressed because it is too large

22329
ColorlessWorld-2024-4-2/Assets/Scenes/ResourcePoint.unity

File diff suppressed because it is too large

23350
ColorlessWorld-2024-4-2/Assets/Scenes/Shop.unity

File diff suppressed because it is too large

33419
ColorlessWorld-2024-4-2/Assets/Scenes/StartPoint.unity

File diff suppressed because it is too large

19996
ColorlessWorld-2024-4-2/Assets/Scenes/TreasurePoint.unity

File diff suppressed because it is too large

29
ColorlessWorld-2024-4-2/Assets/Scripts/PotionPoint/PotionGetNode.cs

@ -0,0 +1,29 @@
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class PotionGetNode : MonoBehaviour
{
public string potionID;
public Image potionIcon;
public TMP_Text potionNameText;
public Text potionDescriptionText;
public void GetPotion()
{
if (PlayerStatsManager.Instance.potionList.potionList.Count < 3)
{
PotionPointManager.Instance.rewardPanel.SetActive(false);
PotionPointManager.Instance.isHaven = true;
PlayerStatsManager.Instance.EffectFunction(10, potionID);
TipManager.Instance.SendTip("»ñµÃÒ©Ë®" + potionID);
}
else
{
TipManager.Instance.SendTip("³¬³öЯ´øÉÏÏÞ");
}
}
}

11
ColorlessWorld-2024-4-2/Assets/Scripts/PotionPoint/PotionGetNode.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4c122e276f6b4ff4385d3c9efbbfa296
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

46
ColorlessWorld-2024-4-2/Assets/Scripts/PotionPoint/PotionPointManager.cs

@ -3,11 +3,14 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PotionPointManager : MonoBehaviour
public class PotionPointManager : Singleton<PotionPointManager>
{
public Transform potionFather;
public GameObject rewardPanel;
public bool isHaven;//标识有没有获得奖励
public GameObject potionChooseNodePrefab;
private void Start()
{
List<string> potionList = new List<string>();
@ -18,19 +21,23 @@ public class PotionPointManager : MonoBehaviour
for (int i = 0; i < potionList.Count ; i++)
{
GameObject potion = PotionManager.Instance.CreatPotion(potionList[i], potionFather);
potion.transform.localScale = new Vector3(2f, 2f, 2f);
Button button = potion.transform.GetChild(1).GetComponent<Button>();
button.onClick.AddListener(potion.GetComponent<PotionNode>().SetActiveFalesUsePanel);
button.onClick.AddListener(CloseRewardPanel);
button.onClick.AddListener(potion.GetComponent<PotionNode>().GetPotion);
}
}
GameObject potion = Instantiate (potionChooseNodePrefab ,potionFather );
PotionGetNode potionGetNode = potion .GetComponent<PotionGetNode>();
public void CloseRewardPanel()
{
rewardPanel.SetActive(false);
isHaven = true;
if ( PotionManager.Instance.potionDictionary.TryGetValue(potionList[i], out string[] potionData))
{
//添加ID
potionGetNode.potionID = potionData[0];
//添加名字
potionGetNode.potionNameText.text = potionData[1];
//添加描述
potionGetNode.potionDescriptionText.text = potionData[2];
//添加图片
potionGetNode.potionIcon.sprite = ToolDontDestory.Instance.LoadImage(potionData[4]);
}
}
}
public void OpenRewardPanel()
@ -44,4 +51,17 @@ public class PotionPointManager : MonoBehaviour
TipManager.Instance.SendTip("已经拿过奖励了");
}
}
/* public void GetPotion()
{
if (PlayerStatsManager.Instance.potionList.potionList.Count < 3)
{
PlayerStatsManager.Instance.EffectFunction(10, potionID);
TipManager.Instance.SendTip("获得药水" + potionID);
}
else
{
TipManager.Instance.SendTip("超出携带上限");
}
}*/
}

68
ColorlessWorld-2024-4-2/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset

File diff suppressed because one or more lines are too long

71
ColorlessWorld-2024-4-2/Assets/TextMesh Pro/Resources/Fonts & Materials/msyhbd SDF.asset

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save