特效新内容。修复gameplay致命bug和分数保存bug
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
@@ -0,0 +1,156 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4f084763b23303b4783af7665db60a33
|
||||
TextureImporter:
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 5928181197073471133
|
||||
second: "\u672A\u6807\u9898-2 (3)_0"
|
||||
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: 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: 1
|
||||
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: 4
|
||||
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: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: "\u672A\u6807\u9898-2 (3)_0"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 100
|
||||
height: 30
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: d96d6bfc361254250800000000000000
|
||||
internalID: 5928181197073471133
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable:
|
||||
"\u672A\u6807\u9898-2 (3)_0": 5928181197073471133
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,13 +1,14 @@
|
||||
using JetBrains.Annotations;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using TMPro;
|
||||
|
||||
public class archievePrefab : MonoBehaviour
|
||||
{
|
||||
[Header("Inspector")]
|
||||
public Image archieve_btmImage;
|
||||
public Text archieve_name;
|
||||
public Text archieve_description;
|
||||
public TextMeshProUGUI archieve_name;
|
||||
public TextMeshProUGUI archieve_description;
|
||||
|
||||
[Header("Rarity Background Sprites")]
|
||||
public Sprite whiteLevelSprite;
|
||||
@@ -18,6 +19,32 @@ public class archievePrefab : MonoBehaviour
|
||||
public Sprite redLevelSprite;
|
||||
public Sprite colorfulLevelSprite;
|
||||
|
||||
[Header("Name Text Colors")]
|
||||
public Color whiteNameColor = Color.black;
|
||||
public Color greenNameColor = Color.black;
|
||||
public Color blueNameColor = Color.white;
|
||||
public Color purpleNameColor = Color.white;
|
||||
public Color goldenNameColor = Color.black;
|
||||
public Color redNameColor = Color.white;
|
||||
public Color colorfulNameColor = Color.black;
|
||||
|
||||
[Header("Description Gradient Colors")]
|
||||
public bool overrideDescriptionToBlack = false;
|
||||
public Gradient whiteDescGradient;
|
||||
public bool whiteHorizontal;
|
||||
public Gradient greenDescGradient;
|
||||
public bool greenHorizontal;
|
||||
public Gradient blueDescGradient;
|
||||
public bool blueHorizontal;
|
||||
public Gradient purpleDescGradient;
|
||||
public bool purpleHorizontal;
|
||||
public Gradient goldenDescGradient;
|
||||
public bool goldenHorizontal;
|
||||
public Gradient redDescGradient;
|
||||
public bool redHorizontal;
|
||||
public Gradient colorfulDescGradient;
|
||||
public bool colorfulHorizontal;
|
||||
|
||||
public void Setup(AchievementLevel level)
|
||||
{
|
||||
if (archieve_name != null) archieve_name.text = level.levelName;
|
||||
@@ -31,37 +58,53 @@ public class archievePrefab : MonoBehaviour
|
||||
if (archieve_btmImage == null) return;
|
||||
|
||||
Sprite targetSprite = whiteLevelSprite;
|
||||
bool useBlackText = false;
|
||||
Color targetNameColor = whiteNameColor;
|
||||
Gradient targetGradient = whiteDescGradient;
|
||||
bool isHorizontal = whiteHorizontal;
|
||||
|
||||
switch (rarity)
|
||||
{
|
||||
case AchievementRarity.Common:
|
||||
targetSprite = whiteLevelSprite;
|
||||
useBlackText = true; // 白色底图用黑字
|
||||
targetNameColor = whiteNameColor;
|
||||
targetGradient = whiteDescGradient;
|
||||
isHorizontal = whiteHorizontal;
|
||||
break;
|
||||
case AchievementRarity.Advanced:
|
||||
targetSprite = greenLevelSprite;
|
||||
useBlackText = true; // 绿色底图用黑字
|
||||
targetNameColor = greenNameColor;
|
||||
targetGradient = greenDescGradient;
|
||||
isHorizontal = greenHorizontal;
|
||||
break;
|
||||
case AchievementRarity.Rare:
|
||||
targetSprite = blueLevelSprite;
|
||||
useBlackText = false;
|
||||
targetNameColor = blueNameColor;
|
||||
targetGradient = blueDescGradient;
|
||||
isHorizontal = blueHorizontal;
|
||||
break;
|
||||
case AchievementRarity.Epic:
|
||||
targetSprite = purpleLevelSprite;
|
||||
useBlackText = false;
|
||||
targetNameColor = purpleNameColor;
|
||||
targetGradient = purpleDescGradient;
|
||||
isHorizontal = purpleHorizontal;
|
||||
break;
|
||||
case AchievementRarity.Legendary:
|
||||
targetSprite = goldenLevelSprite;
|
||||
useBlackText = true; // 金色底图用黑字
|
||||
targetNameColor = goldenNameColor;
|
||||
targetGradient = goldenDescGradient;
|
||||
isHorizontal = goldenHorizontal;
|
||||
break;
|
||||
case AchievementRarity.Mythic:
|
||||
targetSprite = redLevelSprite;
|
||||
useBlackText = false;
|
||||
targetNameColor = redNameColor;
|
||||
targetGradient = redDescGradient;
|
||||
isHorizontal = redHorizontal;
|
||||
break;
|
||||
case AchievementRarity.Exquisite:
|
||||
targetSprite = colorfulLevelSprite;
|
||||
useBlackText = true; // 至臻底图用黑字
|
||||
targetNameColor = colorfulNameColor;
|
||||
targetGradient = colorfulDescGradient;
|
||||
isHorizontal = colorfulHorizontal;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -72,10 +115,86 @@ public class archievePrefab : MonoBehaviour
|
||||
archieve_btmImage.color = Color.white;
|
||||
}
|
||||
|
||||
// 2. 根据底图亮度调整文字颜色 (archieve_name)
|
||||
// 2. 设置成就名字颜色 (archieve_name)
|
||||
if (archieve_name != null)
|
||||
{
|
||||
archieve_name.color = useBlackText ? Color.black : Color.white;
|
||||
archieve_name.color = targetNameColor;
|
||||
}
|
||||
|
||||
// 3. 设置描述文本渐变颜色 (archieve_description)
|
||||
if (archieve_description != null && targetGradient != null)
|
||||
{
|
||||
ApplyGlobalGradient(archieve_description, targetGradient, isHorizontal);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 将渐变色应用到整个文本对象,而不是单个字符
|
||||
/// </summary>
|
||||
private void ApplyGlobalGradient(TextMeshProUGUI textComponent, Gradient gradient, bool isHorizontal)
|
||||
{
|
||||
if (overrideDescriptionToBlack)
|
||||
{
|
||||
textComponent.color = Color.black;
|
||||
textComponent.enableVertexGradient = false;
|
||||
// 如果处于覆盖模式,直接返回,不执行复杂的顶点渐变逻辑
|
||||
return;
|
||||
}
|
||||
|
||||
// 必须先强制更新网格以获取正确的顶点数据
|
||||
textComponent.ForceMeshUpdate();
|
||||
|
||||
TMP_TextInfo textInfo = textComponent.textInfo;
|
||||
int characterCount = textInfo.characterCount;
|
||||
|
||||
if (characterCount == 0) return;
|
||||
|
||||
// 获取文本的边界(用于计算比例)
|
||||
float minPos = isHorizontal ? textInfo.meshInfo[0].vertices[0].x : textInfo.meshInfo[0].vertices[0].y;
|
||||
float maxPos = minPos;
|
||||
|
||||
for (int i = 0; i < characterCount; i++)
|
||||
{
|
||||
if (!textInfo.characterInfo[i].isVisible) continue;
|
||||
int materialIndex = textInfo.characterInfo[i].materialReferenceIndex;
|
||||
int vertexIndex = textInfo.characterInfo[i].vertexIndex;
|
||||
Vector3[] vertices = textInfo.meshInfo[materialIndex].vertices;
|
||||
|
||||
for (int j = 0; j < 4; j++)
|
||||
{
|
||||
float pos = isHorizontal ? vertices[vertexIndex + j].x : vertices[vertexIndex + j].y;
|
||||
if (pos < minPos) minPos = pos;
|
||||
if (pos > maxPos) maxPos = pos;
|
||||
}
|
||||
}
|
||||
|
||||
float range = maxPos - minPos;
|
||||
if (range < 0.001f) range = 1f;
|
||||
|
||||
// 再次遍历并应用颜色
|
||||
for (int i = 0; i < characterCount; i++)
|
||||
{
|
||||
if (!textInfo.characterInfo[i].isVisible) continue;
|
||||
|
||||
int materialIndex = textInfo.characterInfo[i].materialReferenceIndex;
|
||||
int vertexIndex = textInfo.characterInfo[i].vertexIndex;
|
||||
Color32[] colors = textInfo.meshInfo[materialIndex].colors32;
|
||||
Vector3[] vertices = textInfo.meshInfo[materialIndex].vertices;
|
||||
|
||||
for (int j = 0; j < 4; j++)
|
||||
{
|
||||
float pos = isHorizontal ? vertices[vertexIndex + j].x : vertices[vertexIndex + j].y;
|
||||
// 计算该顶点在整个范围内的 normalized 位置 (0-1)
|
||||
float t = (pos - minPos) / range;
|
||||
|
||||
// 如果是垂直渐变,通常是从上到下,而 Y 轴向上,所以需要反转 t
|
||||
if (!isHorizontal) t = 1f - t;
|
||||
|
||||
colors[vertexIndex + j] = gradient.Evaluate(t);
|
||||
}
|
||||
}
|
||||
|
||||
// 更新网格颜色
|
||||
textComponent.UpdateVertexData(TMP_VertexDataUpdateFlags.Colors32);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,8 +34,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: 145, y: 0}
|
||||
m_SizeDelta: {x: 180.3219, y: 18.96}
|
||||
m_AnchoredPosition: {x: 141.5818, y: 0}
|
||||
m_SizeDelta: {x: 180.3219, y: 24.248}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7653600646526832126
|
||||
CanvasRenderer:
|
||||
@@ -58,15 +58,15 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0, g: 0, b: 0, a: 0.6313726}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.7764706}
|
||||
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: f26501999de5c54428a4c3c1fbfcf63b, type: 3}
|
||||
m_Type: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 7f3b1220317607e44bbb8f0e1998044a, type: 3}
|
||||
m_Type: 1
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
@@ -74,7 +74,7 @@ MonoBehaviour:
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
m_PixelsPerUnitMultiplier: 3
|
||||
--- !u!1 &2158061846793205876
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -219,8 +219,8 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: f26501999de5c54428a4c3c1fbfcf63b, type: 3}
|
||||
m_Type: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 232065537e252394387fb47fa6b2dcc5, type: 3}
|
||||
m_Type: 1
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
@@ -228,7 +228,7 @@ MonoBehaviour:
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
m_PixelsPerUnitMultiplier: 3
|
||||
--- !u!1 &6472485741768238748
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -279,15 +279,240 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
archieve_btmImage: {fileID: 4523100129868866626}
|
||||
archieve_name: {fileID: 2905176122685405629}
|
||||
archieve_description: {fileID: 1514620737187801955}
|
||||
archieve_name: {fileID: 4391417306324471311}
|
||||
archieve_description: {fileID: 3991285927690417470}
|
||||
whiteLevelSprite: {fileID: 21300000, guid: 4a54fa55041f7dc4eb55059093ec4cc4, type: 3}
|
||||
greenLevelSprite: {fileID: 21300000, guid: e9911a4ebb8ed444ab8554663793b20c, type: 3}
|
||||
blueLevelSprite: {fileID: 21300000, guid: dac00d8e9d47e684485b494c36b8ac15, type: 3}
|
||||
purpleLevelSprite: {fileID: 21300000, guid: 75f586c0b70aa5844af58c4f015e0da8, type: 3}
|
||||
goldenLevelSprite: {fileID: 21300000, guid: 9175bb92bbdd0e24abce048a0e0bdac8, type: 3}
|
||||
redLevelSprite: {fileID: 21300000, guid: 90c130e16d6d36f4597ccc4452763930, type: 3}
|
||||
colorfulLevelSprite: {fileID: 0}
|
||||
colorfulLevelSprite: {fileID: 21300000, guid: 4f084763b23303b4783af7665db60a33, type: 3}
|
||||
whiteNameColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
greenNameColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
blueNameColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
purpleNameColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
goldenNameColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
redNameColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
colorfulNameColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
overrideDescriptionToBlack: 1
|
||||
whiteDescGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.18867922, g: 0.18867922, b: 0.18867922, a: 1}
|
||||
key1: {r: 0.19215687, g: 0.19215687, b: 0.19215687, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
whiteHorizontal: 0
|
||||
greenDescGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.33710417, g: 0.8805031, b: 0.31842077, a: 1}
|
||||
key1: {r: 0.63231754, g: 0.8490566, b: 0.47792804, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
greenHorizontal: 0
|
||||
blueDescGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.07843137, g: 0.70338565, b: 0.85490197, a: 1}
|
||||
key1: {r: 0.43928242, g: 0.80109864, b: 0.836478, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
blueHorizontal: 0
|
||||
purpleDescGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.47707486, g: 0.0854989, b: 0.8238993, a: 1}
|
||||
key1: {r: 0.7237945, g: 0.41194963, b: 1, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
purpleHorizontal: 0
|
||||
goldenDescGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.8805031, g: 0.71660686, b: 0, a: 1}
|
||||
key1: {r: 0.93710685, g: 0.9342017, b: 0.40372208, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
goldenHorizontal: 0
|
||||
redDescGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.9811321, g: 0.3237474, b: 0.10798612, a: 1}
|
||||
key1: {r: 1, g: 0.55252624, b: 0.42452818, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
redHorizontal: 0
|
||||
colorfulDescGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 0.18553454, g: 0.95980686, b: 1, a: 1}
|
||||
key1: {r: 1, g: 0.31760997, b: 0.8166271, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorfulHorizontal: 0
|
||||
--- !u!1 &7107878648302016172
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -298,7 +523,7 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 5159833122166663045}
|
||||
- component: {fileID: 4279214170018526763}
|
||||
- component: {fileID: 1514620737187801955}
|
||||
- component: {fileID: 3991285927690417470}
|
||||
m_Layer: 0
|
||||
m_Name: desTxt
|
||||
m_TagString: Untagged
|
||||
@@ -322,8 +547,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: 7.125, y: 0}
|
||||
m_SizeDelta: {x: 157.1034, y: 30}
|
||||
m_AnchoredPosition: {x: 0.625, y: 0}
|
||||
m_SizeDelta: {x: 166.1034, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4279214170018526763
|
||||
CanvasRenderer:
|
||||
@@ -333,7 +558,7 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7107878648302016172}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &1514620737187801955
|
||||
--- !u!114 &3991285927690417470
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -342,31 +567,88 @@ MonoBehaviour:
|
||||
m_GameObject: {fileID: 7107878648302016172}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
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_FontData:
|
||||
m_Font: {fileID: 12800000, guid: bd4be44636ad6c24a9b117a7108a75e9, type: 3}
|
||||
m_FontSize: 12
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 1
|
||||
m_MinSize: 6
|
||||
m_MaxSize: 12
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u672C\u6210\u5C31\u63CF\u8FF0"
|
||||
m_text: "\u672C\u6210\u5C31\u63CF\u8FF0"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 47babadf44fc728438ae9a924c42227e, type: 2}
|
||||
m_sharedMaterial: {fileID: 6312708493749940865, guid: 47babadf44fc728438ae9a924c42227e, 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: 12
|
||||
m_fontSizeBase: 12
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 1
|
||||
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_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: 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 &7861677673924628990
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -377,7 +659,7 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 476489795891935588}
|
||||
- component: {fileID: 6937842989356694758}
|
||||
- component: {fileID: 2905176122685405629}
|
||||
- component: {fileID: 4391417306324471311}
|
||||
m_Layer: 0
|
||||
m_Name: archieveName
|
||||
m_TagString: Untagged
|
||||
@@ -402,7 +684,7 @@ RectTransform:
|
||||
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: 160, y: 30}
|
||||
m_SizeDelta: {x: 80, y: 25}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6937842989356694758
|
||||
CanvasRenderer:
|
||||
@@ -412,7 +694,7 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7861677673924628990}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &2905176122685405629
|
||||
--- !u!114 &4391417306324471311
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -421,7 +703,7 @@ MonoBehaviour:
|
||||
m_GameObject: {fileID: 7861677673924628990}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
@@ -432,17 +714,74 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_FontData:
|
||||
m_Font: {fileID: 12800000, guid: dfa10de3e2846524089b5073175cd151, type: 3}
|
||||
m_FontSize: 14
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 10
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u4EE5\u6210\u5C31\u4E4B\u540D"
|
||||
m_text: "\u4EE5\u6210\u5C31\u4E4B\u540D"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 47babadf44fc728438ae9a924c42227e, type: 2}
|
||||
m_sharedMaterial: {fileID: 6312708493749940865, guid: 47babadf44fc728438ae9a924c42227e, 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: 14
|
||||
m_fontSizeBase: 13
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
m_fontSizeMin: 10
|
||||
m_fontSizeMax: 14
|
||||
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_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: 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}
|
||||
|
||||
Reference in New Issue
Block a user