王琪诚

【任务】TAPD#

功能详情 朋友圈
配置文件 否
提交作者 QiCheng.Wang
评审人员
  1 +fileFormatVersion: 2
  2 +guid: f4723abe6560e4ce6afafd0cb11af737
  3 +TextureImporter:
  4 + internalIDToNameTable: []
  5 + externalObjects: {}
  6 + serializedVersion: 13
  7 + mipmaps:
  8 + mipMapMode: 0
  9 + enableMipMap: 0
  10 + sRGBTexture: 1
  11 + linearTexture: 0
  12 + fadeOut: 0
  13 + borderMipMap: 0
  14 + mipMapsPreserveCoverage: 0
  15 + alphaTestReferenceValue: 0.5
  16 + mipMapFadeDistanceStart: 1
  17 + mipMapFadeDistanceEnd: 3
  18 + bumpmap:
  19 + convertToNormalMap: 0
  20 + externalNormalMap: 0
  21 + heightScale: 0.25
  22 + normalMapFilter: 0
  23 + flipGreenChannel: 0
  24 + isReadable: 0
  25 + streamingMipmaps: 0
  26 + streamingMipmapsPriority: 0
  27 + vTOnly: 0
  28 + ignoreMipmapLimit: 0
  29 + grayScaleToAlpha: 0
  30 + generateCubemap: 6
  31 + cubemapConvolution: 0
  32 + seamlessCubemap: 0
  33 + textureFormat: 1
  34 + maxTextureSize: 2048
  35 + textureSettings:
  36 + serializedVersion: 2
  37 + filterMode: 1
  38 + aniso: 1
  39 + mipBias: 0
  40 + wrapU: 1
  41 + wrapV: 1
  42 + wrapW: 0
  43 + nPOTScale: 0
  44 + lightmap: 0
  45 + compressionQuality: 50
  46 + spriteMode: 1
  47 + spriteExtrude: 1
  48 + spriteMeshType: 1
  49 + alignment: 0
  50 + spritePivot: {x: 0.5, y: 0.5}
  51 + spritePixelsToUnits: 100
  52 + spriteBorder: {x: 0, y: 0, z: 0, w: 0}
  53 + spriteGenerateFallbackPhysicsShape: 1
  54 + alphaUsage: 1
  55 + alphaIsTransparency: 1
  56 + spriteTessellationDetail: -1
  57 + textureType: 8
  58 + textureShape: 1
  59 + singleChannelComponent: 0
  60 + flipbookRows: 1
  61 + flipbookColumns: 1
  62 + maxTextureSizeSet: 0
  63 + compressionQualitySet: 0
  64 + textureFormatSet: 0
  65 + ignorePngGamma: 0
  66 + applyGammaDecoding: 0
  67 + swizzle: 50462976
  68 + cookieLightType: 0
  69 + platformSettings:
  70 + - serializedVersion: 3
  71 + buildTarget: DefaultTexturePlatform
  72 + maxTextureSize: 2048
  73 + resizeAlgorithm: 0
  74 + textureFormat: -1
  75 + textureCompression: 1
  76 + compressionQuality: 50
  77 + crunchedCompression: 0
  78 + allowsAlphaSplitting: 0
  79 + overridden: 0
  80 + ignorePlatformSupport: 0
  81 + androidETC2FallbackOverride: 0
  82 + forceMaximumCompressionQuality_BC6H_BC7: 0
  83 + - serializedVersion: 3
  84 + buildTarget: Standalone
  85 + maxTextureSize: 2048
  86 + resizeAlgorithm: 0
  87 + textureFormat: -1
  88 + textureCompression: 1
  89 + compressionQuality: 50
  90 + crunchedCompression: 0
  91 + allowsAlphaSplitting: 0
  92 + overridden: 0
  93 + ignorePlatformSupport: 0
  94 + androidETC2FallbackOverride: 0
  95 + forceMaximumCompressionQuality_BC6H_BC7: 0
  96 + - serializedVersion: 3
  97 + buildTarget: Android
  98 + maxTextureSize: 2048
  99 + resizeAlgorithm: 0
  100 + textureFormat: -1
  101 + textureCompression: 1
  102 + compressionQuality: 50
  103 + crunchedCompression: 0
  104 + allowsAlphaSplitting: 0
  105 + overridden: 0
  106 + ignorePlatformSupport: 0
  107 + androidETC2FallbackOverride: 0
  108 + forceMaximumCompressionQuality_BC6H_BC7: 0
  109 + spriteSheet:
  110 + serializedVersion: 2
  111 + sprites: []
  112 + outline: []
  113 + physicsShape: []
  114 + bones: []
  115 + spriteID: 5e97eb03825dee720800000000000000
  116 + internalID: 0
  117 + vertices: []
  118 + indices:
  119 + edges: []
  120 + weights: []
  121 + secondaryTextures: []
  122 + nameFileIdTable: {}
  123 + mipmapLimitGroupName:
  124 + pSDRemoveMatte: 0
  125 + userData:
  126 + assetBundleName:
  127 + assetBundleVariant:
@@ -1013,10 +1013,10 @@ RectTransform: @@ -1013,10 +1013,10 @@ RectTransform:
1013 - {fileID: 989371012} 1013 - {fileID: 989371012}
1014 m_Father: {fileID: 1150663700} 1014 m_Father: {fileID: 1150663700}
1015 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1015 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1016 - m_AnchorMin: {x: 0, y: 0}  
1017 - m_AnchorMax: {x: 1, y: 1}  
1018 - m_AnchoredPosition: {x: -25.687988, y: 572}  
1019 - m_SizeDelta: {x: -308.25, y: -1737.2814} 1016 + m_AnchorMin: {x: 0.5, y: 0.5}
  1017 + m_AnchorMax: {x: 0.5, y: 0.5}
  1018 + m_AnchoredPosition: {x: -25.844, y: 568}
  1019 + m_SizeDelta: {x: 771.44, y: 187.16}
1020 m_Pivot: {x: 0.5, y: 0.5} 1020 m_Pivot: {x: 0.5, y: 0.5}
1021 --- !u!114 &637033553 1021 --- !u!114 &637033553
1022 MonoBehaviour: 1022 MonoBehaviour:
@@ -1038,7 +1038,7 @@ MonoBehaviour: @@ -1038,7 +1038,7 @@ MonoBehaviour:
1038 m_OnCullStateChanged: 1038 m_OnCullStateChanged:
1039 m_PersistentCalls: 1039 m_PersistentCalls:
1040 m_Calls: [] 1040 m_Calls: []
1041 - m_Sprite: {fileID: 0} 1041 + m_Sprite: {fileID: 21300000, guid: f4723abe6560e4ce6afafd0cb11af737, type: 3}
1042 m_Type: 0 1042 m_Type: 0
1043 m_PreserveAspect: 0 1043 m_PreserveAspect: 0
1044 m_FillCenter: 1 1044 m_FillCenter: 1
@@ -1402,7 +1402,7 @@ MonoBehaviour: @@ -1402,7 +1402,7 @@ MonoBehaviour:
1402 m_GameObject: {fileID: 960620721} 1402 m_GameObject: {fileID: 960620721}
1403 m_Enabled: 1 1403 m_Enabled: 1
1404 m_EditorHideFlags: 0 1404 m_EditorHideFlags: 0
1405 - m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} 1405 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3}
1406 m_Name: 1406 m_Name:
1407 m_EditorClassIdentifier: 1407 m_EditorClassIdentifier:
1408 m_Padding: 1408 m_Padding:
@@ -1411,12 +1411,14 @@ MonoBehaviour: @@ -1411,12 +1411,14 @@ MonoBehaviour:
1411 m_Top: 0 1411 m_Top: 0
1412 m_Bottom: 0 1412 m_Bottom: 0
1413 m_ChildAlignment: 0 1413 m_ChildAlignment: 0
1414 - m_StartCorner: 0  
1415 - m_StartAxis: 0  
1416 - m_CellSize: {x: 1080, y: 1200}  
1417 - m_Spacing: {x: 0, y: 0}  
1418 - m_Constraint: 0  
1419 - m_ConstraintCount: 2 1414 + m_Spacing: 0
  1415 + m_ChildForceExpandWidth: 1
  1416 + m_ChildForceExpandHeight: 1
  1417 + m_ChildControlWidth: 1
  1418 + m_ChildControlHeight: 0
  1419 + m_ChildScaleWidth: 0
  1420 + m_ChildScaleHeight: 0
  1421 + m_ReverseArrangement: 0
1420 --- !u!1 &989371011 1422 --- !u!1 &989371011
1421 GameObject: 1423 GameObject:
1422 m_ObjectHideFlags: 0 1424 m_ObjectHideFlags: 0
@@ -1449,10 +1451,10 @@ RectTransform: @@ -1449,10 +1451,10 @@ RectTransform:
1449 m_Children: [] 1451 m_Children: []
1450 m_Father: {fileID: 637033552} 1452 m_Father: {fileID: 637033552}
1451 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1453 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1452 - m_AnchorMin: {x: 0.5, y: 0.5}  
1453 - m_AnchorMax: {x: 0.5, y: 0.5}  
1454 - m_AnchoredPosition: {x: -0.000011444092, y: 0}  
1455 - m_SizeDelta: {x: 771.75, y: 182.7186} 1454 + m_AnchorMin: {x: 0, y: 0}
  1455 + m_AnchorMax: {x: 1, y: 1}
  1456 + m_AnchoredPosition: {x: -0.000091552734, y: 22.452682}
  1457 + m_SizeDelta: {x: -37.163, y: -72.7776}
1456 m_Pivot: {x: 0.5, y: 0.5} 1458 m_Pivot: {x: 0.5, y: 0.5}
1457 --- !u!114 &989371013 1459 --- !u!114 &989371013
1458 MonoBehaviour: 1460 MonoBehaviour:
@@ -1501,13 +1503,13 @@ MonoBehaviour: @@ -1501,13 +1503,13 @@ MonoBehaviour:
1501 m_faceColor: 1503 m_faceColor:
1502 serializedVersion: 2 1504 serializedVersion: 2
1503 rgba: 4294967295 1505 rgba: 4294967295
1504 - m_fontSize: 36  
1505 - m_fontSizeBase: 36 1506 + m_fontSize: 30
  1507 + m_fontSizeBase: 30
1506 m_fontWeight: 400 1508 m_fontWeight: 400
1507 m_enableAutoSizing: 0 1509 m_enableAutoSizing: 0
1508 m_fontSizeMin: 18 1510 m_fontSizeMin: 18
1509 m_fontSizeMax: 72 1511 m_fontSizeMax: 72
1510 - m_fontStyle: 0 1512 + m_fontStyle: 1
1511 m_HorizontalAlignment: 1 1513 m_HorizontalAlignment: 1
1512 m_VerticalAlignment: 256 1514 m_VerticalAlignment: 256
1513 m_textAlignment: 65535 1515 m_textAlignment: 65535
@@ -1683,7 +1685,7 @@ GameObject: @@ -1683,7 +1685,7 @@ GameObject:
1683 m_Icon: {fileID: 0} 1685 m_Icon: {fileID: 0}
1684 m_NavMeshLayer: 0 1686 m_NavMeshLayer: 0
1685 m_StaticEditorFlags: 0 1687 m_StaticEditorFlags: 0
1686 - m_IsActive: 0 1688 + m_IsActive: 1
1687 --- !u!224 &1150663700 1689 --- !u!224 &1150663700
1688 RectTransform: 1690 RectTransform:
1689 m_ObjectHideFlags: 0 1691 m_ObjectHideFlags: 0
@@ -3226,7 +3228,7 @@ RectTransform: @@ -3226,7 +3228,7 @@ RectTransform:
3226 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 3228 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
3227 m_AnchorMin: {x: 0.5, y: 0.5} 3229 m_AnchorMin: {x: 0.5, y: 0.5}
3228 m_AnchorMax: {x: 0.5, y: 0.5} 3230 m_AnchorMax: {x: 0.5, y: 0.5}
3229 - m_AnchoredPosition: {x: 142.72937, y: -159.87097} 3231 + m_AnchoredPosition: {x: 152, y: -217}
3230 m_SizeDelta: {x: 273.848, y: 207.6898} 3232 m_SizeDelta: {x: 273.848, y: 207.6898}
3231 m_Pivot: {x: 0.5, y: 0.5} 3233 m_Pivot: {x: 0.5, y: 0.5}
3232 --- !u!114 &1714109486 3234 --- !u!114 &1714109486
  1 +using System;
1 using UnityEngine; 2 using UnityEngine;
2 using UnityEngine.UI; 3 using UnityEngine.UI;
3 using UnityEngine.Networking; 4 using UnityEngine.Networking;
@@ -36,6 +37,18 @@ public class ImageViewerManager : MonoBehaviour @@ -36,6 +37,18 @@ public class ImageViewerManager : MonoBehaviour
36 StartCoroutine(ImageLoader.LoadImage(logo, logoImage)); 37 StartCoroutine(ImageLoader.LoadImage(logo, logoImage));
37 contentTextMeshProUGUI.text = content; 38 contentTextMeshProUGUI.text = content;
38 timeTextMeshProUGUI.text = time; 39 timeTextMeshProUGUI.text = time;
  40 +
  41 + //初始高度180
  42 + int initHeight = 180;
  43 + RectTransform contentParentRect = contentTextMeshProUGUI.transform.parent.GetComponent<RectTransform>();
  44 + contentParentRect.sizeDelta = new Vector2(contentParentRect.sizeDelta.x, initHeight);
  45 + //动态设置高度,每行23个字
  46 + int height = (int)Math.Ceiling((double)content.Length / 23) * 65;
  47 + if (height>initHeight)
  48 + {
  49 + contentParentRect.sizeDelta = new Vector2(contentParentRect.sizeDelta.x, height);
  50 + }
  51 +
39 } 52 }
40 53
41 public void Hide() 54 public void Hide()
@@ -35,6 +35,8 @@ public class MomentItem : MonoBehaviour @@ -35,6 +35,8 @@ public class MomentItem : MonoBehaviour
35 public GameObject likePrefab; // 点赞emjoi预制体 35 public GameObject likePrefab; // 点赞emjoi预制体
36 36
37 public TextMeshProUGUI likesText; 37 public TextMeshProUGUI likesText;
  38 + public TextMeshProUGUI likedEmoji;
  39 +
38 private string originLikesText; 40 private string originLikesText;
39 41
40 public TextMeshProUGUI commentsText; 42 public TextMeshProUGUI commentsText;
@@ -109,14 +111,28 @@ public class MomentItem : MonoBehaviour @@ -109,14 +111,28 @@ public class MomentItem : MonoBehaviour
109 111
110 112
111 113
112 - public void Setup(Moment moment,List<Like> likeList,string likeIcon,string logo,int momentCount) 114 + public int Setup(Moment moment,List<Like> likeList,string likeIcon,string logo,int momentCount)
113 { 115 {
  116 + //计算单条朋友圈所占高度
  117 + //每行字50
  118 + int line = 50;
  119 + //图片、视频400
  120 + int media = 400;
  121 + int momentHeight = 0;
114 usernameText.text = moment.username; 122 usernameText.text = moment.username;
  123 + momentHeight+= line;
  124 +
115 contentText.text = moment.text; 125 contentText.text = moment.text;
  126 + //计算文本的行数,每行30个字
  127 + int textLine = (int)Math.Ceiling((double)moment.text.Length / 30);
  128 + momentHeight+= textLine*line;
  129 +
116 from.text = moment.from; 130 from.text = moment.from;
117 time.text = moment.time; 131 time.text = moment.time;
118 StartCoroutine(ImageLoader.LoadImage(likeIcon, likeIconImage)); 132 StartCoroutine(ImageLoader.LoadImage(likeIcon, likeIconImage));
119 originLikeIcon = likeIcon; 133 originLikeIcon = likeIcon;
  134 + momentHeight+= line;
  135 +
120 136
121 StartCoroutine(ImageLoader.LoadImage(moment.avatarUrl, avatarImage)); 137 StartCoroutine(ImageLoader.LoadImage(moment.avatarUrl, avatarImage));
122 138
@@ -125,6 +141,18 @@ public class MomentItem : MonoBehaviour @@ -125,6 +141,18 @@ public class MomentItem : MonoBehaviour
125 { 141 {
126 likeGrid.gameObject.SetActive(true); 142 likeGrid.gameObject.SetActive(true);
127 }); 143 });
  144 +
  145 +
  146 + Button likedEmojiBtn = likedEmoji.GetComponent<Button>();
  147 + likedEmojiBtn.onClick.AddListener(() =>
  148 + {
  149 + //显示点赞Icon
  150 + likeIconImage.gameObject.SetActive(true);
  151 +
  152 + likedEmoji.gameObject.SetActive(false);
  153 + likedEmoji.text = "";
  154 + likeGrid.gameObject.SetActive(true);
  155 + });
128 156
129 157
130 // 清空之前的图片 158 // 清空之前的图片
@@ -139,11 +167,13 @@ public class MomentItem : MonoBehaviour @@ -139,11 +167,13 @@ public class MomentItem : MonoBehaviour
139 Image img = imgObj.GetComponent<Image>(); 167 Image img = imgObj.GetComponent<Image>();
140 StartCoroutine(ImageLoader.LoadImage(url, img)); 168 StartCoroutine(ImageLoader.LoadImage(url, img));
141 Transform child = imgObj.transform.GetChild(0); 169 Transform child = imgObj.transform.GetChild(0);
142 - child.DOScale(0.6f, 1f).SetLoops(-1, LoopType.Yoyo).SetEase(Ease.InOutSine); 170 + child.DOScale(0.45f, 2f).SetLoops(-1, LoopType.Yoyo).SetEase(Ease.InOutSine);
143 171
144 Button btn = imgObj.GetComponent<Button>(); 172 Button btn = imgObj.GetComponent<Button>();
145 btn.onClick.AddListener(() => ImageViewerManager.Instance.ShowImage(url,moment.text,logo,moment.time)); 173 btn.onClick.AddListener(() => ImageViewerManager.Instance.ShowImage(url,moment.text,logo,moment.time));
146 } 174 }
  175 + //一行两张图片,计算有几行
  176 + momentHeight+= (int)Math.Ceiling((double)moment.imageUrls.Count / 2) * media;
147 177
148 178
149 179
@@ -179,7 +209,11 @@ public class MomentItem : MonoBehaviour @@ -179,7 +209,11 @@ public class MomentItem : MonoBehaviour
179 209
180 Button btn = obj.GetComponent<Button>(); 210 Button btn = obj.GetComponent<Button>();
181 btn.onClick.AddListener(() => VideoViewerManager.Instance.ShowVideo(moment)); 211 btn.onClick.AddListener(() => VideoViewerManager.Instance.ShowVideo(moment));
  212 +
  213 + momentHeight+= media;
182 } 214 }
  215 +
  216 +
183 217
184 218
185 //点赞图片以及文字初始化 219 //点赞图片以及文字初始化
@@ -228,8 +262,10 @@ public class MomentItem : MonoBehaviour @@ -228,8 +262,10 @@ public class MomentItem : MonoBehaviour
228 262
229 //隐藏点赞Icon 263 //隐藏点赞Icon
230 likeIconImage.gameObject.SetActive(false); 264 likeIconImage.gameObject.SetActive(false);
231 - //TODO 显示已经点赞的emoji标签  
232 - 265 + //显示已经点赞的emoji标签
  266 + likedEmoji.text = like.icon;
  267 + likedEmoji.gameObject.SetActive(true);
  268 +
233 likeGrid.gameObject.SetActive(false); 269 likeGrid.gameObject.SetActive(false);
234 270
235 //增加点赞名字 271 //增加点赞名字
@@ -244,12 +280,17 @@ public class MomentItem : MonoBehaviour @@ -244,12 +280,17 @@ public class MomentItem : MonoBehaviour
244 likesText.text = string.Join(", ", names); 280 likesText.text = string.Join(", ", names);
245 }); 281 });
246 } 282 }
  283 +
  284 + momentHeight+= line;
247 285
248 likesText.text = string.Join(", ", moment.likeNameList); 286 likesText.text = string.Join(", ", moment.likeNameList);
249 originLikesText = likesText.text; 287 originLikesText = likesText.text;
250 288
251 commentsText.text = ""; 289 commentsText.text = "";
252 LoadComments(moment.comments); 290 LoadComments(moment.comments);
  291 + momentHeight+= moment.comments.Count*line;
  292 +
  293 + return momentHeight+200;
253 } 294 }
254 295
255 296
@@ -33,11 +33,17 @@ public class MomentManager : MonoBehaviour @@ -33,11 +33,17 @@ public class MomentManager : MonoBehaviour
33 int momentCount = 1; 33 int momentCount = 1;
34 GameObject item = Instantiate(momentPrefab, contentParent); 34 GameObject item = Instantiate(momentPrefab, contentParent);
35 35
  36 + int momentHeight = item.GetComponent<MomentItem>().Setup(moment,data.likeList,data.likeIcon,data.logo,momentCount++);
  37 +
  38 + RectTransform momentRt = item.GetComponent<RectTransform>();
  39 + momentRt.sizeDelta = new Vector2(momentRt.sizeDelta.x, momentHeight);
  40 +
36 //计算列表高度 41 //计算列表高度
37 - RectTransform rt = item.GetComponent<RectTransform>();  
38 - momentListHeight+= rt.rect.height; 42 + // RectTransform rt = item.GetComponent<RectTransform>();
  43 + // momentListHeight+= rt.rect.height;
  44 +
  45 + momentListHeight+= momentHeight;
39 46
40 - item.GetComponent<MomentItem>().Setup(moment,data.likeList,data.likeIcon,data.logo,momentCount++);  
41 } 47 }
42 48
43 //设定顶部封面高度 49 //设定顶部封面高度
@@ -27,14 +27,14 @@ RectTransform: @@ -27,14 +27,14 @@ RectTransform:
27 m_GameObject: {fileID: 1990591235901545225} 27 m_GameObject: {fileID: 1990591235901545225}
28 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 28 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
29 m_LocalPosition: {x: 0, y: 0, z: 0} 29 m_LocalPosition: {x: 0, y: 0, z: 0}
30 - m_LocalScale: {x: 0.72601, y: 0.72601, z: 0.72601} 30 + m_LocalScale: {x: 0.4, y: 0.4, z: 0.4}
31 m_ConstrainProportionsScale: 0 31 m_ConstrainProportionsScale: 0
32 m_Children: [] 32 m_Children: []
33 m_Father: {fileID: 2327885096247245973} 33 m_Father: {fileID: 2327885096247245973}
34 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 34 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
35 m_AnchorMin: {x: 0.5, y: 0.5} 35 m_AnchorMin: {x: 0.5, y: 0.5}
36 m_AnchorMax: {x: 0.5, y: 0.5} 36 m_AnchorMax: {x: 0.5, y: 0.5}
37 - m_AnchoredPosition: {x: 0, y: -198} 37 + m_AnchoredPosition: {x: 0, y: -212}
38 m_SizeDelta: {x: 395, y: 149} 38 m_SizeDelta: {x: 395, y: 149}
39 m_Pivot: {x: 0.5, y: 0.5} 39 m_Pivot: {x: 0.5, y: 0.5}
40 --- !u!222 &142993819740274611 40 --- !u!222 &142993819740274611
@@ -36,7 +36,7 @@ RectTransform: @@ -36,7 +36,7 @@ RectTransform:
36 m_AnchorMin: {x: 0, y: 0} 36 m_AnchorMin: {x: 0, y: 0}
37 m_AnchorMax: {x: 0, y: 0} 37 m_AnchorMax: {x: 0, y: 0}
38 m_AnchoredPosition: {x: 0, y: 0} 38 m_AnchoredPosition: {x: 0, y: 0}
39 - m_SizeDelta: {x: 781.90027, y: 0} 39 + m_SizeDelta: {x: 771.6973, y: 0}
40 m_Pivot: {x: 0.5, y: 0.5} 40 m_Pivot: {x: 0.5, y: 0.5}
41 --- !u!222 &4867507668132122837 41 --- !u!222 &4867507668132122837
42 CanvasRenderer: 42 CanvasRenderer:
@@ -66,7 +66,7 @@ MonoBehaviour: @@ -66,7 +66,7 @@ MonoBehaviour:
66 m_OnCullStateChanged: 66 m_OnCullStateChanged:
67 m_PersistentCalls: 67 m_PersistentCalls:
68 m_Calls: [] 68 m_Calls: []
69 - m_text: Bob, CharlieBob, 69 + m_text: Bob, CharlieBob
70 m_isRightToLeft: 0 70 m_isRightToLeft: 0
71 m_fontAsset: {fileID: 11400000, guid: e4002ced6a3580448963db96223ad8bf, type: 2} 71 m_fontAsset: {fileID: 11400000, guid: e4002ced6a3580448963db96223ad8bf, type: 2}
72 m_sharedMaterial: {fileID: -6404392141848387476, guid: e4002ced6a3580448963db96223ad8bf, type: 2} 72 m_sharedMaterial: {fileID: -6404392141848387476, guid: e4002ced6a3580448963db96223ad8bf, type: 2}
@@ -93,8 +93,8 @@ MonoBehaviour: @@ -93,8 +93,8 @@ MonoBehaviour:
93 m_faceColor: 93 m_faceColor:
94 serializedVersion: 2 94 serializedVersion: 2
95 rgba: 4294967295 95 rgba: 4294967295
96 - m_fontSize: 30  
97 - m_fontSizeBase: 30 96 + m_fontSize: 28
  97 + m_fontSizeBase: 28
98 m_fontWeight: 400 98 m_fontWeight: 400
99 m_enableAutoSizing: 0 99 m_enableAutoSizing: 0
100 m_fontSizeMin: 18 100 m_fontSizeMin: 18
@@ -230,6 +230,206 @@ MonoBehaviour: @@ -230,6 +230,206 @@ MonoBehaviour:
230 m_FillOrigin: 0 230 m_FillOrigin: 0
231 m_UseSpriteMesh: 0 231 m_UseSpriteMesh: 0
232 m_PixelsPerUnitMultiplier: 1 232 m_PixelsPerUnitMultiplier: 1
  233 +--- !u!1 &1436999699436744877
  234 +GameObject:
  235 + m_ObjectHideFlags: 0
  236 + m_CorrespondingSourceObject: {fileID: 0}
  237 + m_PrefabInstance: {fileID: 0}
  238 + m_PrefabAsset: {fileID: 0}
  239 + serializedVersion: 6
  240 + m_Component:
  241 + - component: {fileID: 4592196923246910271}
  242 + - component: {fileID: 8561840853038617291}
  243 + - component: {fileID: 5011945072125408528}
  244 + - component: {fileID: 7044725107275116496}
  245 + - component: {fileID: 6556403917504077810}
  246 + m_Layer: 5
  247 + m_Name: LikedEmoji
  248 + m_TagString: Untagged
  249 + m_Icon: {fileID: 0}
  250 + m_NavMeshLayer: 0
  251 + m_StaticEditorFlags: 0
  252 + m_IsActive: 0
  253 +--- !u!224 &4592196923246910271
  254 +RectTransform:
  255 + m_ObjectHideFlags: 0
  256 + m_CorrespondingSourceObject: {fileID: 0}
  257 + m_PrefabInstance: {fileID: 0}
  258 + m_PrefabAsset: {fileID: 0}
  259 + m_GameObject: {fileID: 1436999699436744877}
  260 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
  261 + m_LocalPosition: {x: 0, y: 0, z: 0}
  262 + m_LocalScale: {x: 1, y: 1, z: 1}
  263 + m_ConstrainProportionsScale: 0
  264 + m_Children: []
  265 + m_Father: {fileID: 933536019744797015}
  266 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  267 + m_AnchorMin: {x: 0, y: 0.5}
  268 + m_AnchorMax: {x: 0, y: 0.5}
  269 + m_AnchoredPosition: {x: 788, y: -2}
  270 + m_SizeDelta: {x: 50, y: 50}
  271 + m_Pivot: {x: 0.5, y: 0.5}
  272 +--- !u!222 &8561840853038617291
  273 +CanvasRenderer:
  274 + m_ObjectHideFlags: 0
  275 + m_CorrespondingSourceObject: {fileID: 0}
  276 + m_PrefabInstance: {fileID: 0}
  277 + m_PrefabAsset: {fileID: 0}
  278 + m_GameObject: {fileID: 1436999699436744877}
  279 + m_CullTransparentMesh: 1
  280 +--- !u!114 &5011945072125408528
  281 +MonoBehaviour:
  282 + m_ObjectHideFlags: 0
  283 + m_CorrespondingSourceObject: {fileID: 0}
  284 + m_PrefabInstance: {fileID: 0}
  285 + m_PrefabAsset: {fileID: 0}
  286 + m_GameObject: {fileID: 1436999699436744877}
  287 + m_Enabled: 1
  288 + m_EditorHideFlags: 0
  289 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
  290 + m_Name:
  291 + m_EditorClassIdentifier:
  292 + m_Material: {fileID: 0}
  293 + m_Color: {r: 1, g: 1, b: 1, a: 1}
  294 + m_RaycastTarget: 1
  295 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
  296 + m_Maskable: 1
  297 + m_OnCullStateChanged:
  298 + m_PersistentCalls:
  299 + m_Calls: []
  300 + m_text:
  301 + m_isRightToLeft: 0
  302 + m_fontAsset: {fileID: 11400000, guid: e4002ced6a3580448963db96223ad8bf, type: 2}
  303 + m_sharedMaterial: {fileID: -6404392141848387476, guid: e4002ced6a3580448963db96223ad8bf, type: 2}
  304 + m_fontSharedMaterials: []
  305 + m_fontMaterial: {fileID: 0}
  306 + m_fontMaterials: []
  307 + m_fontColor32:
  308 + serializedVersion: 2
  309 + rgba: 4290427578
  310 + m_fontColor: {r: 0.7294118, g: 0.7294118, b: 0.7294118, a: 1}
  311 + m_enableVertexGradient: 0
  312 + m_colorMode: 0
  313 + m_fontColorGradient:
  314 + topLeft: {r: 1, g: 1, b: 1, a: 1}
  315 + topRight: {r: 1, g: 1, b: 1, a: 1}
  316 + bottomLeft: {r: 1, g: 1, b: 1, a: 1}
  317 + bottomRight: {r: 1, g: 1, b: 1, a: 1}
  318 + m_fontColorGradientPreset: {fileID: 0}
  319 + m_spriteAsset: {fileID: 0}
  320 + m_tintAllSprites: 0
  321 + m_StyleSheet: {fileID: 0}
  322 + m_TextStyleHashCode: -1183493901
  323 + m_overrideHtmlColors: 0
  324 + m_faceColor:
  325 + serializedVersion: 2
  326 + rgba: 4294967295
  327 + m_fontSize: 40
  328 + m_fontSizeBase: 40
  329 + m_fontWeight: 400
  330 + m_enableAutoSizing: 0
  331 + m_fontSizeMin: 18
  332 + m_fontSizeMax: 72
  333 + m_fontStyle: 0
  334 + m_HorizontalAlignment: 1
  335 + m_VerticalAlignment: 512
  336 + m_textAlignment: 65535
  337 + m_characterSpacing: 0
  338 + m_wordSpacing: 0
  339 + m_lineSpacing: 0
  340 + m_lineSpacingMax: 0
  341 + m_paragraphSpacing: 0
  342 + m_charWidthMaxAdj: 0
  343 + m_enableWordWrapping: 1
  344 + m_wordWrappingRatios: 0.4
  345 + m_overflowMode: 0
  346 + m_linkedTextComponent: {fileID: 0}
  347 + parentLinkedComponent: {fileID: 0}
  348 + m_enableKerning: 1
  349 + m_enableExtraPadding: 0
  350 + checkPaddingRequired: 0
  351 + m_isRichText: 1
  352 + m_parseCtrlCharacters: 1
  353 + m_isOrthographic: 1
  354 + m_isCullingEnabled: 0
  355 + m_horizontalMapping: 0
  356 + m_verticalMapping: 0
  357 + m_uvLineOffset: 0
  358 + m_geometrySortingOrder: 0
  359 + m_IsTextObjectScaleStatic: 0
  360 + m_VertexBufferAutoSizeReduction: 0
  361 + m_useMaxVisibleDescender: 1
  362 + m_pageToDisplay: 1
  363 + m_margin: {x: 0, y: 0, z: 0, w: 0}
  364 + m_isUsingLegacyAnimationComponent: 0
  365 + m_isVolumetricText: 0
  366 + m_hasFontAssetChanged: 0
  367 + m_baseMaterial: {fileID: 0}
  368 + m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
  369 +--- !u!114 &7044725107275116496
  370 +MonoBehaviour:
  371 + m_ObjectHideFlags: 0
  372 + m_CorrespondingSourceObject: {fileID: 0}
  373 + m_PrefabInstance: {fileID: 0}
  374 + m_PrefabAsset: {fileID: 0}
  375 + m_GameObject: {fileID: 1436999699436744877}
  376 + m_Enabled: 1
  377 + m_EditorHideFlags: 0
  378 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
  379 + m_Name:
  380 + m_EditorClassIdentifier:
  381 + m_IgnoreLayout: 0
  382 + m_MinWidth: -1
  383 + m_MinHeight: -1
  384 + m_PreferredWidth: -1
  385 + m_PreferredHeight: -1
  386 + m_FlexibleWidth: 500
  387 + m_FlexibleHeight: -1
  388 + m_LayoutPriority: 1
  389 +--- !u!114 &6556403917504077810
  390 +MonoBehaviour:
  391 + m_ObjectHideFlags: 0
  392 + m_CorrespondingSourceObject: {fileID: 0}
  393 + m_PrefabInstance: {fileID: 0}
  394 + m_PrefabAsset: {fileID: 0}
  395 + m_GameObject: {fileID: 1436999699436744877}
  396 + m_Enabled: 1
  397 + m_EditorHideFlags: 0
  398 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
  399 + m_Name:
  400 + m_EditorClassIdentifier:
  401 + m_Navigation:
  402 + m_Mode: 3
  403 + m_WrapAround: 0
  404 + m_SelectOnUp: {fileID: 0}
  405 + m_SelectOnDown: {fileID: 0}
  406 + m_SelectOnLeft: {fileID: 0}
  407 + m_SelectOnRight: {fileID: 0}
  408 + m_Transition: 1
  409 + m_Colors:
  410 + m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
  411 + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  412 + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
  413 + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  414 + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
  415 + m_ColorMultiplier: 1
  416 + m_FadeDuration: 0.1
  417 + m_SpriteState:
  418 + m_HighlightedSprite: {fileID: 0}
  419 + m_PressedSprite: {fileID: 0}
  420 + m_SelectedSprite: {fileID: 0}
  421 + m_DisabledSprite: {fileID: 0}
  422 + m_AnimationTriggers:
  423 + m_NormalTrigger: Normal
  424 + m_HighlightedTrigger: Highlighted
  425 + m_PressedTrigger: Pressed
  426 + m_SelectedTrigger: Selected
  427 + m_DisabledTrigger: Disabled
  428 + m_Interactable: 1
  429 + m_TargetGraphic: {fileID: 0}
  430 + m_OnClick:
  431 + m_PersistentCalls:
  432 + m_Calls: []
233 --- !u!1 &1534361540249689770 433 --- !u!1 &1534361540249689770
234 GameObject: 434 GameObject:
235 m_ObjectHideFlags: 0 435 m_ObjectHideFlags: 0
@@ -798,6 +998,7 @@ MonoBehaviour: @@ -798,6 +998,7 @@ MonoBehaviour:
798 likeGrid: {fileID: 791864646146378596} 998 likeGrid: {fileID: 791864646146378596}
799 likePrefab: {fileID: 9178889867283835311, guid: e24148f97082744f882ce467fd38b84d, type: 3} 999 likePrefab: {fileID: 9178889867283835311, guid: e24148f97082744f882ce467fd38b84d, type: 3}
800 likesText: {fileID: 3974158831220795792} 1000 likesText: {fileID: 3974158831220795792}
  1001 + likedEmoji: {fileID: 5011945072125408528}
801 commentsText: {fileID: 7245545156690182981} 1002 commentsText: {fileID: 7245545156690182981}
802 danmakuManager: {fileID: 3592364449536958164} 1003 danmakuManager: {fileID: 3592364449536958164}
803 checkRectTransform: {fileID: 1919980167639563440} 1004 checkRectTransform: {fileID: 1919980167639563440}
@@ -948,8 +1149,8 @@ MonoBehaviour: @@ -948,8 +1149,8 @@ MonoBehaviour:
948 m_faceColor: 1149 m_faceColor:
949 serializedVersion: 2 1150 serializedVersion: 2
950 rgba: 4294967295 1151 rgba: 4294967295
951 - m_fontSize: 30  
952 - m_fontSizeBase: 30 1152 + m_fontSize: 28
  1153 + m_fontSizeBase: 28
953 m_fontWeight: 400 1154 m_fontWeight: 400
954 m_enableAutoSizing: 0 1155 m_enableAutoSizing: 0
955 m_fontSizeMin: 18 1156 m_fontSizeMin: 18
@@ -958,7 +1159,7 @@ MonoBehaviour: @@ -958,7 +1159,7 @@ MonoBehaviour:
958 m_HorizontalAlignment: 1 1159 m_HorizontalAlignment: 1
959 m_VerticalAlignment: 256 1160 m_VerticalAlignment: 256
960 m_textAlignment: 65535 1161 m_textAlignment: 65535
961 - m_characterSpacing: 7 1162 + m_characterSpacing: 0
962 m_wordSpacing: 0 1163 m_wordSpacing: 0
963 m_lineSpacing: 0 1164 m_lineSpacing: 0
964 m_lineSpacingMax: 0 1165 m_lineSpacingMax: 0
@@ -1043,6 +1244,7 @@ RectTransform: @@ -1043,6 +1244,7 @@ RectTransform:
1043 - {fileID: 4735349657589972976} 1244 - {fileID: 4735349657589972976}
1044 - {fileID: 791864646146378596} 1245 - {fileID: 791864646146378596}
1045 - {fileID: 1919980167639563440} 1246 - {fileID: 1919980167639563440}
  1247 + - {fileID: 4592196923246910271}
1046 m_Father: {fileID: 5137047804386020533} 1248 m_Father: {fileID: 5137047804386020533}
1047 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1249 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1048 m_AnchorMin: {x: 0, y: 0} 1250 m_AnchorMin: {x: 0, y: 0}
@@ -1229,8 +1431,8 @@ RectTransform: @@ -1229,8 +1431,8 @@ RectTransform:
1229 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1431 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1230 m_AnchorMin: {x: 0, y: 1} 1432 m_AnchorMin: {x: 0, y: 1}
1231 m_AnchorMax: {x: 0, y: 1} 1433 m_AnchorMax: {x: 0, y: 1}
1232 - m_AnchoredPosition: {x: 19, y: -18}  
1233 - m_SizeDelta: {x: 30, y: 30} 1434 + m_AnchoredPosition: {x: 27, y: -24}
  1435 + m_SizeDelta: {x: 35, y: 30}
1234 m_Pivot: {x: 0.5, y: 0.5} 1436 m_Pivot: {x: 0.5, y: 0.5}
1235 --- !u!222 &888018792828137858 1437 --- !u!222 &888018792828137858
1236 CanvasRenderer: 1438 CanvasRenderer:
@@ -1649,8 +1851,8 @@ MonoBehaviour: @@ -1649,8 +1851,8 @@ MonoBehaviour:
1649 m_faceColor: 1851 m_faceColor:
1650 serializedVersion: 2 1852 serializedVersion: 2
1651 rgba: 4294967295 1853 rgba: 4294967295
1652 - m_fontSize: 30  
1653 - m_fontSizeBase: 30 1854 + m_fontSize: 28
  1855 + m_fontSizeBase: 28
1654 m_fontWeight: 400 1856 m_fontWeight: 400
1655 m_enableAutoSizing: 0 1857 m_enableAutoSizing: 0
1656 m_fontSizeMin: 18 1858 m_fontSizeMin: 18
@@ -2052,7 +2254,7 @@ RectTransform: @@ -2052,7 +2254,7 @@ RectTransform:
2052 m_AnchorMin: {x: 0, y: 0} 2254 m_AnchorMin: {x: 0, y: 0}
2053 m_AnchorMax: {x: 0, y: 0} 2255 m_AnchorMax: {x: 0, y: 0}
2054 m_AnchoredPosition: {x: 0, y: 0} 2256 m_AnchoredPosition: {x: 0, y: 0}
2055 - m_SizeDelta: {x: 41.900238, y: 0} 2257 + m_SizeDelta: {x: 50, y: 0}
2056 m_Pivot: {x: 0.5, y: 0.5} 2258 m_Pivot: {x: 0.5, y: 0.5}
2057 --- !u!114 &7917989825231092027 2259 --- !u!114 &7917989825231092027
2058 MonoBehaviour: 2260 MonoBehaviour:
@@ -2113,10 +2315,10 @@ RectTransform: @@ -2113,10 +2315,10 @@ RectTransform:
2113 - {fileID: 3108337084099359238} 2315 - {fileID: 3108337084099359238}
2114 m_Father: {fileID: 5112969456787946611} 2316 m_Father: {fileID: 5112969456787946611}
2115 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 2317 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
2116 - m_AnchorMin: {x: 0.5, y: 1} 2318 + m_AnchorMin: {x: 0.5, y: 0}
2117 m_AnchorMax: {x: 0.5, y: 1} 2319 m_AnchorMax: {x: 0.5, y: 1}
2118 - m_AnchoredPosition: {x: 47.40027, y: -612.5}  
2119 - m_SizeDelta: {x: 823.8005, y: 1175} 2320 + m_AnchoredPosition: {x: 53, y: -21}
  2321 + m_SizeDelta: {x: 823.8005, y: 0}
2120 m_Pivot: {x: 0.5, y: 0.5} 2322 m_Pivot: {x: 0.5, y: 0.5}
2121 --- !u!114 &5312690894359832804 2323 --- !u!114 &5312690894359832804
2122 MonoBehaviour: 2324 MonoBehaviour: