siyao
4 年前
当前提交
698ff91a
共有 8 个文件被更改,包括 873 次插入 和 9 次删除
-
133Assets/HuaweiServiceDemo/Scenes/HmsAppMessageSampleScene.unity
-
3Assets/HuaweiServiceDemo/Scripts/test/AppLinkingTest.cs
-
6Assets/HuaweiServiceDemo/Scripts/test/appmessage/AppMessageListener.cs
-
3Assets/HuaweiServiceDemo/Scripts/test/appmessage/AppMessageTest.cs
-
75Assets/HuaweiServiceDemo/Scripts/test/appmessage/PopupMessage.cs
-
11Assets/HuaweiServiceDemo/Scripts/test/appmessage/PopupMessage.cs.meta
-
644Assets/HuaweiServiceDemo/prefabs/CustomAppMessage.prefab
-
7Assets/HuaweiServiceDemo/prefabs/CustomAppMessage.prefab.meta
|
|||
using System; |
|||
using System.Collections.Generic; |
|||
using HuaweiService.appmessage; |
|||
using UnityEngine; |
|||
using UnityEngine.Events; |
|||
using UnityEngine.UI; |
|||
|
|||
public class PopupMessage : MonoBehaviour |
|||
{ |
|||
public Text title; |
|||
public Text description; |
|||
public GameObject panel; |
|||
|
|||
public Button click; |
|||
public Button dismiss; |
|||
|
|||
private UnityAction clickAction; |
|||
private UnityAction dismissAction; |
|||
|
|||
public static PopupMessage instance; |
|||
|
|||
public static Queue<Action> jobs = new Queue<Action>(); |
|||
|
|||
public void Start() |
|||
{ |
|||
instance = this; |
|||
} |
|||
|
|||
public void Update() |
|||
{ |
|||
while (jobs.Count > 0) |
|||
{ |
|||
jobs.Dequeue().Invoke(); |
|||
} |
|||
} |
|||
|
|||
// hide message and remove callback
|
|||
public void HideMessage() |
|||
{ |
|||
panel.SetActive(false); |
|||
click.onClick.RemoveListener(clickAction); |
|||
dismiss.onClick.RemoveListener(dismissAction); |
|||
} |
|||
|
|||
// put show message into job queue, since setActive could only be called in main thread
|
|||
public static void Show(AppMessage message, AGConnectAppMessagingCallback callback) |
|||
{ |
|||
jobs.Enqueue(()=>instance.ShowMessage(message, callback)); |
|||
} |
|||
|
|||
// show message and add callback
|
|||
public void ShowMessage(AppMessage message, AGConnectAppMessagingCallback callback) |
|||
{ |
|||
panel.SetActive(true); |
|||
if (message != null) |
|||
{ |
|||
description.text = $"{message.getId()}"; |
|||
} |
|||
|
|||
if (callback != null) |
|||
{ |
|||
clickAction = () => |
|||
{ |
|||
callback.onMessageClick(message); |
|||
}; |
|||
click.onClick.AddListener(clickAction); |
|||
|
|||
dismissAction = () => |
|||
{ |
|||
callback.onMessageDismiss(message, AGConnectAppMessagingCallback.DismissType.CLICK); |
|||
}; |
|||
dismiss.onClick.AddListener(dismissAction); |
|||
} |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 1b4181c389b7044e2b088f33fc4d8b44 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!1 &2060819508838791021 |
|||
GameObject: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
serializedVersion: 6 |
|||
m_Component: |
|||
- component: {fileID: 4006597427554789568} |
|||
- component: {fileID: 4264855111552887735} |
|||
- component: {fileID: 5996821106422279177} |
|||
m_Layer: 5 |
|||
m_Name: title |
|||
m_TagString: Untagged |
|||
m_Icon: {fileID: 0} |
|||
m_NavMeshLayer: 0 |
|||
m_StaticEditorFlags: 0 |
|||
m_IsActive: 1 |
|||
--- !u!224 &4006597427554789568 |
|||
RectTransform: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 2060819508838791021} |
|||
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_Children: [] |
|||
m_Father: {fileID: 2118125555605999917} |
|||
m_RootOrder: 0 |
|||
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: 216} |
|||
m_SizeDelta: {x: 500, y: 80} |
|||
m_Pivot: {x: 0.5, y: 0.5} |
|||
--- !u!222 &4264855111552887735 |
|||
CanvasRenderer: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 2060819508838791021} |
|||
m_CullTransparentMesh: 0 |
|||
--- !u!114 &5996821106422279177 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 2060819508838791021} |
|||
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: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} |
|||
m_RaycastTarget: 1 |
|||
m_Maskable: 1 |
|||
m_OnCullStateChanged: |
|||
m_PersistentCalls: |
|||
m_Calls: [] |
|||
m_FontData: |
|||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} |
|||
m_FontSize: 36 |
|||
m_FontStyle: 0 |
|||
m_BestFit: 0 |
|||
m_MinSize: 3 |
|||
m_MaxSize: 40 |
|||
m_Alignment: 4 |
|||
m_AlignByGeometry: 0 |
|||
m_RichText: 1 |
|||
m_HorizontalOverflow: 0 |
|||
m_VerticalOverflow: 0 |
|||
m_LineSpacing: 1 |
|||
m_Text: Custom View |
|||
--- !u!1 &5822863347397750048 |
|||
GameObject: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
serializedVersion: 6 |
|||
m_Component: |
|||
- component: {fileID: 111730460350966622} |
|||
- component: {fileID: 6385013442443462715} |
|||
- component: {fileID: 7824764411666904721} |
|||
m_Layer: 5 |
|||
m_Name: description |
|||
m_TagString: Untagged |
|||
m_Icon: {fileID: 0} |
|||
m_NavMeshLayer: 0 |
|||
m_StaticEditorFlags: 0 |
|||
m_IsActive: 1 |
|||
--- !u!224 &111730460350966622 |
|||
RectTransform: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 5822863347397750048} |
|||
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_Children: [] |
|||
m_Father: {fileID: 2118125555605999917} |
|||
m_RootOrder: 1 |
|||
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: 85} |
|||
m_SizeDelta: {x: 619.5, y: 77.9} |
|||
m_Pivot: {x: 0.5, y: 0.5} |
|||
--- !u!222 &6385013442443462715 |
|||
CanvasRenderer: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 5822863347397750048} |
|||
m_CullTransparentMesh: 0 |
|||
--- !u!114 &7824764411666904721 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 5822863347397750048} |
|||
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: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} |
|||
m_RaycastTarget: 1 |
|||
m_Maskable: 1 |
|||
m_OnCullStateChanged: |
|||
m_PersistentCalls: |
|||
m_Calls: [] |
|||
m_FontData: |
|||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} |
|||
m_FontSize: 36 |
|||
m_FontStyle: 0 |
|||
m_BestFit: 0 |
|||
m_MinSize: 3 |
|||
m_MaxSize: 40 |
|||
m_Alignment: 0 |
|||
m_AlignByGeometry: 0 |
|||
m_RichText: 1 |
|||
m_HorizontalOverflow: 0 |
|||
m_VerticalOverflow: 0 |
|||
m_LineSpacing: 1 |
|||
m_Text: New Text |
|||
--- !u!1 &7131087980345367158 |
|||
GameObject: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
serializedVersion: 6 |
|||
m_Component: |
|||
- component: {fileID: 3534455593700723090} |
|||
- component: {fileID: 1114789776660264022} |
|||
- component: {fileID: 8345455529294734259} |
|||
m_Layer: 5 |
|||
m_Name: CustomAppMessage |
|||
m_TagString: Untagged |
|||
m_Icon: {fileID: 0} |
|||
m_NavMeshLayer: 0 |
|||
m_StaticEditorFlags: 0 |
|||
m_IsActive: 1 |
|||
--- !u!224 &3534455593700723090 |
|||
RectTransform: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 7131087980345367158} |
|||
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_Children: |
|||
- {fileID: 2118125555605999917} |
|||
m_Father: {fileID: 0} |
|||
m_RootOrder: 0 |
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|||
m_AnchorMin: {x: 0.5, y: 0.5} |
|||
m_AnchorMax: {x: 0.5, y: 0.5} |
|||
m_AnchoredPosition: {x: 0, y: 0} |
|||
m_SizeDelta: {x: 850, y: 700} |
|||
m_Pivot: {x: 0.5, y: 0.5} |
|||
--- !u!222 &1114789776660264022 |
|||
CanvasRenderer: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 7131087980345367158} |
|||
m_CullTransparentMesh: 0 |
|||
--- !u!114 &8345455529294734259 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 7131087980345367158} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 1b4181c389b7044e2b088f33fc4d8b44, type: 3} |
|||
m_Name: |
|||
m_EditorClassIdentifier: |
|||
title: {fileID: 5996821106422279177} |
|||
description: {fileID: 7824764411666904721} |
|||
panel: {fileID: 7670534606300712251} |
|||
click: {fileID: 51242969838877195} |
|||
dismiss: {fileID: 659683531573140138} |
|||
canvas: {fileID: 0} |
|||
--- !u!1 &7670534606300712251 |
|||
GameObject: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
serializedVersion: 6 |
|||
m_Component: |
|||
- component: {fileID: 2118125555605999917} |
|||
- component: {fileID: 46942910843686830} |
|||
- component: {fileID: 1216119442104940280} |
|||
m_Layer: 5 |
|||
m_Name: Panel |
|||
m_TagString: Untagged |
|||
m_Icon: {fileID: 0} |
|||
m_NavMeshLayer: 0 |
|||
m_StaticEditorFlags: 0 |
|||
m_IsActive: 0 |
|||
--- !u!224 &2118125555605999917 |
|||
RectTransform: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 7670534606300712251} |
|||
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_Children: |
|||
- {fileID: 4006597427554789568} |
|||
- {fileID: 111730460350966622} |
|||
- {fileID: 3272590240335620477} |
|||
- {fileID: 2664781762528381404} |
|||
m_Father: {fileID: 3534455593700723090} |
|||
m_RootOrder: 0 |
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|||
m_AnchorMin: {x: 0, y: 0} |
|||
m_AnchorMax: {x: 1, y: 1} |
|||
m_AnchoredPosition: {x: 0, y: 0} |
|||
m_SizeDelta: {x: 0, y: 0} |
|||
m_Pivot: {x: 0.5, y: 0.5} |
|||
--- !u!222 &46942910843686830 |
|||
CanvasRenderer: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 7670534606300712251} |
|||
m_CullTransparentMesh: 0 |
|||
--- !u!114 &1216119442104940280 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 7670534606300712251} |
|||
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.392} |
|||
m_RaycastTarget: 1 |
|||
m_Maskable: 1 |
|||
m_OnCullStateChanged: |
|||
m_PersistentCalls: |
|||
m_Calls: [] |
|||
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} |
|||
m_Type: 1 |
|||
m_PreserveAspect: 0 |
|||
m_FillCenter: 1 |
|||
m_FillMethod: 4 |
|||
m_FillAmount: 1 |
|||
m_FillClockwise: 1 |
|||
m_FillOrigin: 0 |
|||
m_UseSpriteMesh: 0 |
|||
m_PixelsPerUnitMultiplier: 1 |
|||
--- !u!1001 &5969675406119550721 |
|||
PrefabInstance: |
|||
m_ObjectHideFlags: 0 |
|||
serializedVersion: 2 |
|||
m_Modification: |
|||
m_TransformParent: {fileID: 2118125555605999917} |
|||
m_Modifications: |
|||
- target: {fileID: 1403610081195159912, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_Text |
|||
value: Click |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5079351762955741576, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_Name |
|||
value: Click |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState |
|||
value: 2 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target |
|||
value: |
|||
objectReference: {fileID: 8345455529294734259} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName |
|||
value: HideMessage |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName |
|||
value: UnityEngine.Object, UnityEngine |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.y |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.z |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.x |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.y |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.z |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.w |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_RootOrder |
|||
value: 2 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.y |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.z |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchoredPosition.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchoredPosition.y |
|||
value: -92 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_SizeDelta.x |
|||
value: 480 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_SizeDelta.y |
|||
value: 80 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchorMin.x |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchorMin.y |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchorMax.x |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchorMax.y |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_Pivot.x |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_Pivot.y |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
m_RemovedComponents: [] |
|||
m_SourcePrefab: {fileID: 100100000, guid: d221bb8c0c7b8476294abb3b987699b9, type: 3} |
|||
--- !u!224 &3272590240335620477 stripped |
|||
RectTransform: |
|||
m_CorrespondingSourceObject: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 5969675406119550721} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!114 &51242969838877195 stripped |
|||
MonoBehaviour: |
|||
m_CorrespondingSourceObject: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 5969675406119550721} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} |
|||
m_Name: |
|||
m_EditorClassIdentifier: |
|||
--- !u!1001 &6577836833643224992 |
|||
PrefabInstance: |
|||
m_ObjectHideFlags: 0 |
|||
serializedVersion: 2 |
|||
m_Modification: |
|||
m_TransformParent: {fileID: 2118125555605999917} |
|||
m_Modifications: |
|||
- target: {fileID: 1403610081195159912, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_Text |
|||
value: Dismiss |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5079351762955741576, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_Name |
|||
value: Dismiss |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState |
|||
value: 2 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target |
|||
value: |
|||
objectReference: {fileID: 8345455529294734259} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName |
|||
value: HideMessage |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName |
|||
value: UnityEngine.Object, UnityEngine |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.y |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.z |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.x |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.y |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.z |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.w |
|||
value: 1 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_RootOrder |
|||
value: 3 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.y |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.z |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchoredPosition.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchoredPosition.y |
|||
value: -214 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_SizeDelta.x |
|||
value: 480 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_SizeDelta.y |
|||
value: 80 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchorMin.x |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchorMin.y |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchorMax.x |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_AnchorMax.y |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_Pivot.x |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
propertyPath: m_Pivot.y |
|||
value: 0.5 |
|||
objectReference: {fileID: 0} |
|||
m_RemovedComponents: [] |
|||
m_SourcePrefab: {fileID: 100100000, guid: d221bb8c0c7b8476294abb3b987699b9, type: 3} |
|||
--- !u!224 &2664781762528381404 stripped |
|||
RectTransform: |
|||
m_CorrespondingSourceObject: {fileID: 9201451464989955708, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 6577836833643224992} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!114 &659683531573140138 stripped |
|||
MonoBehaviour: |
|||
m_CorrespondingSourceObject: {fileID: 5939826875279820042, guid: d221bb8c0c7b8476294abb3b987699b9, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 6577836833643224992} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} |
|||
m_Name: |
|||
m_EditorClassIdentifier: |
|
|||
fileFormatVersion: 2 |
|||
guid: d5178465b50b340589232ae845fb1d57 |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue