Showing
2 changed files
with
79 additions
and
0 deletions
| @@ -1041,6 +1041,81 @@ MonoBehaviour: | @@ -1041,6 +1041,81 @@ MonoBehaviour: | ||
| 1041 | m_OnClick: | 1041 | m_OnClick: |
| 1042 | m_PersistentCalls: | 1042 | m_PersistentCalls: |
| 1043 | m_Calls: [] | 1043 | m_Calls: [] |
| 1044 | +--- !u!1 &634381883 | ||
| 1045 | +GameObject: | ||
| 1046 | + m_ObjectHideFlags: 0 | ||
| 1047 | + m_CorrespondingSourceObject: {fileID: 0} | ||
| 1048 | + m_PrefabInstance: {fileID: 0} | ||
| 1049 | + m_PrefabAsset: {fileID: 0} | ||
| 1050 | + serializedVersion: 6 | ||
| 1051 | + m_Component: | ||
| 1052 | + - component: {fileID: 634381884} | ||
| 1053 | + - component: {fileID: 634381886} | ||
| 1054 | + - component: {fileID: 634381885} | ||
| 1055 | + m_Layer: 5 | ||
| 1056 | + m_Name: InitImage | ||
| 1057 | + m_TagString: Untagged | ||
| 1058 | + m_Icon: {fileID: 0} | ||
| 1059 | + m_NavMeshLayer: 0 | ||
| 1060 | + m_StaticEditorFlags: 0 | ||
| 1061 | + m_IsActive: 1 | ||
| 1062 | +--- !u!224 &634381884 | ||
| 1063 | +RectTransform: | ||
| 1064 | + m_ObjectHideFlags: 0 | ||
| 1065 | + m_CorrespondingSourceObject: {fileID: 0} | ||
| 1066 | + m_PrefabInstance: {fileID: 0} | ||
| 1067 | + m_PrefabAsset: {fileID: 0} | ||
| 1068 | + m_GameObject: {fileID: 634381883} | ||
| 1069 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1070 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1071 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1072 | + m_ConstrainProportionsScale: 0 | ||
| 1073 | + m_Children: [] | ||
| 1074 | + m_Father: {fileID: 1476497844} | ||
| 1075 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
| 1076 | + m_AnchorMin: {x: 0, y: 0} | ||
| 1077 | + m_AnchorMax: {x: 1, y: 1} | ||
| 1078 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 1079 | + m_SizeDelta: {x: 0, y: 0} | ||
| 1080 | + m_Pivot: {x: 0.5, y: 0.5} | ||
| 1081 | +--- !u!114 &634381885 | ||
| 1082 | +MonoBehaviour: | ||
| 1083 | + m_ObjectHideFlags: 0 | ||
| 1084 | + m_CorrespondingSourceObject: {fileID: 0} | ||
| 1085 | + m_PrefabInstance: {fileID: 0} | ||
| 1086 | + m_PrefabAsset: {fileID: 0} | ||
| 1087 | + m_GameObject: {fileID: 634381883} | ||
| 1088 | + m_Enabled: 1 | ||
| 1089 | + m_EditorHideFlags: 0 | ||
| 1090 | + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} | ||
| 1091 | + m_Name: | ||
| 1092 | + m_EditorClassIdentifier: | ||
| 1093 | + m_Material: {fileID: 0} | ||
| 1094 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 1095 | + m_RaycastTarget: 1 | ||
| 1096 | + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} | ||
| 1097 | + m_Maskable: 1 | ||
| 1098 | + m_OnCullStateChanged: | ||
| 1099 | + m_PersistentCalls: | ||
| 1100 | + m_Calls: [] | ||
| 1101 | + m_Sprite: {fileID: 21300000, guid: ca91c533a2d324ff79752f752ce4f585, type: 3} | ||
| 1102 | + m_Type: 0 | ||
| 1103 | + m_PreserveAspect: 0 | ||
| 1104 | + m_FillCenter: 1 | ||
| 1105 | + m_FillMethod: 4 | ||
| 1106 | + m_FillAmount: 1 | ||
| 1107 | + m_FillClockwise: 1 | ||
| 1108 | + m_FillOrigin: 0 | ||
| 1109 | + m_UseSpriteMesh: 0 | ||
| 1110 | + m_PixelsPerUnitMultiplier: 1 | ||
| 1111 | +--- !u!222 &634381886 | ||
| 1112 | +CanvasRenderer: | ||
| 1113 | + m_ObjectHideFlags: 0 | ||
| 1114 | + m_CorrespondingSourceObject: {fileID: 0} | ||
| 1115 | + m_PrefabInstance: {fileID: 0} | ||
| 1116 | + m_PrefabAsset: {fileID: 0} | ||
| 1117 | + m_GameObject: {fileID: 634381883} | ||
| 1118 | + m_CullTransparentMesh: 1 | ||
| 1044 | --- !u!1 &637033551 | 1119 | --- !u!1 &637033551 |
| 1045 | GameObject: | 1120 | GameObject: |
| 1046 | m_ObjectHideFlags: 0 | 1121 | m_ObjectHideFlags: 0 |
| @@ -2799,6 +2874,7 @@ RectTransform: | @@ -2799,6 +2874,7 @@ RectTransform: | ||
| 2799 | - {fileID: 1539898518} | 2874 | - {fileID: 1539898518} |
| 2800 | - {fileID: 1150663700} | 2875 | - {fileID: 1150663700} |
| 2801 | - {fileID: 1347929217} | 2876 | - {fileID: 1347929217} |
| 2877 | + - {fileID: 634381884} | ||
| 2802 | m_Father: {fileID: 0} | 2878 | m_Father: {fileID: 0} |
| 2803 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 2879 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
| 2804 | m_AnchorMin: {x: 0, y: 0} | 2880 | m_AnchorMin: {x: 0, y: 0} |
| @@ -3004,6 +3080,7 @@ MonoBehaviour: | @@ -3004,6 +3080,7 @@ MonoBehaviour: | ||
| 3004 | momentPrefab: {fileID: 3024470403460670727, guid: 84e990cc6a39843419b767e24b1b1312, type: 3} | 3080 | momentPrefab: {fileID: 3024470403460670727, guid: 84e990cc6a39843419b767e24b1b1312, type: 3} |
| 3005 | coverImage: {fileID: 1130549156} | 3081 | coverImage: {fileID: 1130549156} |
| 3006 | bottomImage: {fileID: 515045581} | 3082 | bottomImage: {fileID: 515045581} |
| 3083 | + InitImage: {fileID: 634381885} | ||
| 3007 | --- !u!114 &1539898523 | 3084 | --- !u!114 &1539898523 |
| 3008 | MonoBehaviour: | 3085 | MonoBehaviour: |
| 3009 | m_ObjectHideFlags: 0 | 3086 | m_ObjectHideFlags: 0 |
| @@ -12,6 +12,7 @@ public class MomentManager : MonoBehaviour | @@ -12,6 +12,7 @@ public class MomentManager : MonoBehaviour | ||
| 12 | public GameObject momentPrefab; | 12 | public GameObject momentPrefab; |
| 13 | public Image coverImage; | 13 | public Image coverImage; |
| 14 | public Image bottomImage; | 14 | public Image bottomImage; |
| 15 | + public Image InitImage; | ||
| 15 | 16 | ||
| 16 | void Start() | 17 | void Start() |
| 17 | { | 18 | { |
| @@ -26,6 +27,7 @@ public class MomentManager : MonoBehaviour | @@ -26,6 +27,7 @@ public class MomentManager : MonoBehaviour | ||
| 26 | { | 27 | { |
| 27 | Debug.Log("最终获取到的 JSON 数据:\n" + data); | 28 | Debug.Log("最终获取到的 JSON 数据:\n" + data); |
| 28 | InitFriendCircle(data); | 29 | InitFriendCircle(data); |
| 30 | + InitImage.gameObject.SetActive(false); | ||
| 29 | })); | 31 | })); |
| 30 | 32 | ||
| 31 | StartCoroutine(JsonLoaderManager.LoadJson("https://h5.edcc.cn/FriendCircle/json/appInfo.json","Jsons/appInfo",data => | 33 | StartCoroutine(JsonLoaderManager.LoadJson("https://h5.edcc.cn/FriendCircle/json/appInfo.json","Jsons/appInfo",data => |
-
Please register or login to post a comment