54 changed files with 38273 additions and 61660 deletions
@ -0,0 +1,96 @@
|
||||
//using Boo.Lang; |
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using UnityEngine; |
||||
using UnityEngine.UI; |
||||
|
||||
public class Commandcountnum : MonoBehaviour |
||||
{ |
||||
public Text sendtext; |
||||
public Text receivetext; |
||||
|
||||
// Start is called before the first frame update |
||||
void Start() |
||||
{ |
||||
|
||||
} |
||||
|
||||
// Update is called once per frame |
||||
void Update() |
||||
{ |
||||
if (Input.GetKeyDown(KeyCode.Space)) |
||||
{ |
||||
|
||||
sendtext.text = "send:" + GetSendMsg().Count; |
||||
receivetext.text = "receive:" + GetReceiveMsg().Count; |
||||
|
||||
} |
||||
} |
||||
private List<ChatMessage> GetSendMsg() |
||||
{ |
||||
List<ChatMessage> sendchatlist = new List<ChatMessage>(); |
||||
for (int i = 0; i < ReportDataMgr.AllChatMessage.Count; i++) |
||||
{ |
||||
if (ReportDataMgr.AllChatMessage[i].SenderId==CurrentUserInfo.mySelf.Id) |
||||
{//当前客户端发送的 |
||||
// if (ChatManager.Instance.FindDirectionSubUserDataID().Contains(ReportDataMgr.AllChatMessage[i].ReceiverId)) |
||||
{//直接下级为接收方 |
||||
sendchatlist.Add(ReportDataMgr.AllChatMessage[i]); |
||||
} |
||||
} |
||||
} |
||||
return sendchatlist; |
||||
} |
||||
private List<ChatMessage> GetReceiveMsg() |
||||
{ |
||||
List<ChatMessage> receivechatlist = new List<ChatMessage>(); |
||||
for (int i = 0; i < ReportDataMgr.AllChatMessage.Count; i++) |
||||
{ |
||||
if (!(CurrentUserInfo.role == Role.导调组 || CurrentUserInfo.role == Role.参谋)) |
||||
{ |
||||
if (ReportDataMgr.AllChatMessage[i].ReceiverId == CurrentUserInfo.mySelf.Id) |
||||
{ |
||||
receivechatlist.Add(ReportDataMgr.AllChatMessage[i]); |
||||
//if (ChatManager.Instance.FindDirectionSubUserDataID().Contains(ReportDataMgr.AllChatMessage[i].SenderId)) |
||||
//{ |
||||
// receivechatlist.Add(ReportDataMgr.AllChatMessage[i]); |
||||
//} |
||||
//if (ChatManager.Instance.FindDirectionSupUserDataID()== ReportDataMgr.AllChatMessage[i].SenderId) |
||||
//{ |
||||
// receivechatlist.Add(ReportDataMgr.AllChatMessage[i]); |
||||
//} |
||||
} |
||||
} |
||||
else |
||||
{ |
||||
receivechatlist.Add(ReportDataMgr.AllChatMessage[i]); |
||||
} |
||||
|
||||
} |
||||
return receivechatlist; |
||||
} |
||||
private List<long> GetChildOriIdList() |
||||
{ |
||||
List<long> idlist = new List<long>(); |
||||
for (int i = 0; i < CurrentUserInfo.room.UserList.Count; i++) |
||||
{ |
||||
if (CurrentUserInfo.room.UserList[i].Org.ParentId==CurrentUserInfo.mySelf.Id) |
||||
{ |
||||
idlist.Add(CurrentUserInfo.room.UserList[i].UserInfo.Id); |
||||
} |
||||
} |
||||
return idlist; |
||||
} |
||||
private long GetDirectionOriId() |
||||
{ |
||||
long parentoriid = 0; |
||||
for (int i = 0; i < CurrentUserInfo.room.UserList.Count; i++) |
||||
{ |
||||
if (CurrentUserInfo.room.UserList[i].UserInfo.Id == CurrentUserInfo.mySelf.Id) |
||||
{ |
||||
parentoriid = CurrentUserInfo.room.UserList[i].Org.ParentId; |
||||
} |
||||
} |
||||
return parentoriid; |
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 795332b1f8560754787b02805e644ed2 |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2 |
||||
guid: f35e203b6f844c3458c5337e1bbc09c7 |
||||
PrefabImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
File diff suppressed because it is too large
Load Diff
@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2 |
||||
guid: bcdf44e7aef61ae4eaccbd888f0d18b7 |
||||
timeCreated: 1529800507 |
||||
licenseType: Pro |
||||
NativeFormatImporter: |
||||
mainObjectFileID: 100100000 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,7 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 9ca1fe068e0c3d44fb4005cbf44b1a07 |
||||
timeCreated: 1529800502 |
||||
licenseType: Pro |
||||
NativeFormatImporter: |
||||
mainObjectFileID: 100100000 |
||||
PrefabImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
|
@ -0,0 +1,787 @@
|
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!1 &44186529450469672 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 364334798790717340} |
||||
- component: {fileID: 6764913982728979965} |
||||
- component: {fileID: 2676374608958049117} |
||||
m_Layer: 5 |
||||
m_Name: Image |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &364334798790717340 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 44186529450469672} |
||||
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: 3549668955292770051} |
||||
m_RootOrder: 0 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
m_AnchorMin: {x: 1, y: 0} |
||||
m_AnchorMax: {x: 1, y: 1} |
||||
m_AnchoredPosition: {x: -0.5, y: 0} |
||||
m_SizeDelta: {x: 1, y: 0} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &6764913982728979965 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 44186529450469672} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &2676374608958049117 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 44186529450469672} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_Sprite: {fileID: 21300000, guid: 10c948ff69f358641b9e7c877aa88e87, type: 3} |
||||
m_Type: 0 |
||||
m_PreserveAspect: 0 |
||||
m_FillCenter: 1 |
||||
m_FillMethod: 4 |
||||
m_FillAmount: 1 |
||||
m_FillClockwise: 1 |
||||
m_FillOrigin: 0 |
||||
m_UseSpriteMesh: 0 |
||||
--- !u!1 &2477042211477711717 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 3549668955292770051} |
||||
- component: {fileID: 3641840378388988316} |
||||
- component: {fileID: 5420876471085937378} |
||||
m_Layer: 5 |
||||
m_Name: EventText |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 0 |
||||
--- !u!224 &3549668955292770051 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 2477042211477711717} |
||||
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: 364334798790717340} |
||||
m_Father: {fileID: 7382728396848158164} |
||||
m_RootOrder: 3 |
||||
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: -15.8, y: 0.39996} |
||||
m_SizeDelta: {x: 170.9, y: 45} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &3641840378388988316 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 2477042211477711717} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &5420876471085937378 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 2477042211477711717} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_FontData: |
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} |
||||
m_FontSize: 18 |
||||
m_FontStyle: 0 |
||||
m_BestFit: 0 |
||||
m_MinSize: 0 |
||||
m_MaxSize: 40 |
||||
m_Alignment: 4 |
||||
m_AlignByGeometry: 0 |
||||
m_RichText: 1 |
||||
m_HorizontalOverflow: 0 |
||||
m_VerticalOverflow: 0 |
||||
m_LineSpacing: 1 |
||||
m_Text: "\u96C6\u7ED3\u533A\u4F4D\u7F6E\u9519\u8BEF" |
||||
--- !u!1 &2848783330440458739 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 5486430369223838899} |
||||
- component: {fileID: 6185896418124206601} |
||||
- component: {fileID: 4978069502439107903} |
||||
m_Layer: 5 |
||||
m_Name: RoleText |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &5486430369223838899 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 2848783330440458739} |
||||
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: 2600007271017601490} |
||||
m_Father: {fileID: 7382728396848158164} |
||||
m_RootOrder: 2 |
||||
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: -149.8, y: 0.39996} |
||||
m_SizeDelta: {x: 200, y: 45} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &6185896418124206601 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 2848783330440458739} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &4978069502439107903 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 2848783330440458739} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_FontData: |
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} |
||||
m_FontSize: 18 |
||||
m_FontStyle: 0 |
||||
m_BestFit: 0 |
||||
m_MinSize: 1 |
||||
m_MaxSize: 40 |
||||
m_Alignment: 4 |
||||
m_AlignByGeometry: 0 |
||||
m_RichText: 1 |
||||
m_HorizontalOverflow: 0 |
||||
m_VerticalOverflow: 0 |
||||
m_LineSpacing: 1 |
||||
m_Text: "\u7279\u52E4\u4E00\u4E2D\u961F\u6218\u6597\u73ED\u4E00\u822C" |
||||
--- !u!1 &3238817735209463129 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 779542289297530760} |
||||
- component: {fileID: 5725704117330692401} |
||||
- component: {fileID: 917311148675897677} |
||||
m_Layer: 5 |
||||
m_Name: ButtomImage |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &779542289297530760 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 3238817735209463129} |
||||
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: 7382728396848158164} |
||||
m_RootOrder: 0 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
m_AnchorMin: {x: 0, y: 0} |
||||
m_AnchorMax: {x: 1, y: 0} |
||||
m_AnchoredPosition: {x: 0, y: 0.5} |
||||
m_SizeDelta: {x: 0, y: 1} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &5725704117330692401 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 3238817735209463129} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &917311148675897677 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 3238817735209463129} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_Sprite: {fileID: 21300000, guid: 8e77dd088db71184bb5286d77d618f4e, type: 3} |
||||
m_Type: 0 |
||||
m_PreserveAspect: 0 |
||||
m_FillCenter: 1 |
||||
m_FillMethod: 4 |
||||
m_FillAmount: 1 |
||||
m_FillClockwise: 1 |
||||
m_FillOrigin: 0 |
||||
m_UseSpriteMesh: 0 |
||||
--- !u!1 &3828375092991726493 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 7382728396848158164} |
||||
- component: {fileID: 4450187018655209265} |
||||
- component: {fileID: 2517719435294134895} |
||||
- component: {fileID: 6653872893374699540} |
||||
m_Layer: 5 |
||||
m_Name: ErrorInfoItem |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &7382728396848158164 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 3828375092991726493} |
||||
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: 779542289297530760} |
||||
- {fileID: 5433678062107002808} |
||||
- {fileID: 5486430369223838899} |
||||
- {fileID: 3549668955292770051} |
||||
- {fileID: 4605704894622230534} |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 0 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
m_AnchorMin: {x: 0, y: 0} |
||||
m_AnchorMax: {x: 0, y: 0} |
||||
m_AnchoredPosition: {x: 0, y: 0} |
||||
m_SizeDelta: {x: 807.2, y: 45} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &4450187018655209265 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 3828375092991726493} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &2517719435294134895 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 3828375092991726493} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 0} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
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 |
||||
--- !u!114 &6653872893374699540 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 3828375092991726493} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: dc8db7d3ac31fe445ba48753e0729340, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
TimeText: {fileID: 4994746633373797920} |
||||
RoleText: {fileID: 4978069502439107903} |
||||
DescribeText: {fileID: 3612034673166735251} |
||||
--- !u!1 &5477826439038419699 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 2901406224354760988} |
||||
- component: {fileID: 6768906614593710411} |
||||
- component: {fileID: 5856208055167460307} |
||||
m_Layer: 5 |
||||
m_Name: Image |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &2901406224354760988 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 5477826439038419699} |
||||
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: 5433678062107002808} |
||||
m_RootOrder: 0 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
m_AnchorMin: {x: 1, y: 0} |
||||
m_AnchorMax: {x: 1, y: 1} |
||||
m_AnchoredPosition: {x: -0.5, y: 0} |
||||
m_SizeDelta: {x: 1, y: 0} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &6768906614593710411 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 5477826439038419699} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &5856208055167460307 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 5477826439038419699} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_Sprite: {fileID: 21300000, guid: 10c948ff69f358641b9e7c877aa88e87, type: 3} |
||||
m_Type: 0 |
||||
m_PreserveAspect: 0 |
||||
m_FillCenter: 1 |
||||
m_FillMethod: 4 |
||||
m_FillAmount: 1 |
||||
m_FillClockwise: 1 |
||||
m_FillOrigin: 0 |
||||
m_UseSpriteMesh: 0 |
||||
--- !u!1 &6859445300338891848 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 4605704894622230534} |
||||
- component: {fileID: 5011466635225655059} |
||||
- component: {fileID: 3612034673166735251} |
||||
m_Layer: 5 |
||||
m_Name: DescribeText |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &4605704894622230534 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 6859445300338891848} |
||||
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: 5451727567089539987} |
||||
m_Father: {fileID: 7382728396848158164} |
||||
m_RootOrder: 4 |
||||
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: 176.9, y: 1.4} |
||||
m_SizeDelta: {x: 453.4, y: 45} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &5011466635225655059 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 6859445300338891848} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &3612034673166735251 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 6859445300338891848} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_FontData: |
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} |
||||
m_FontSize: 18 |
||||
m_FontStyle: 0 |
||||
m_BestFit: 0 |
||||
m_MinSize: 0 |
||||
m_MaxSize: 40 |
||||
m_Alignment: 4 |
||||
m_AlignByGeometry: 0 |
||||
m_RichText: 1 |
||||
m_HorizontalOverflow: 0 |
||||
m_VerticalOverflow: 0 |
||||
m_LineSpacing: 1 |
||||
m_Text: "\u9AD8\u55B7\u8F66\u51FA\u6C34\u65F6\u53EA\u8FDE\u63A5\u4E00\u4E2A\u6C34\u6E90\u7684\u58EB\u5927\u592B\u5341\u5206" |
||||
--- !u!1 &7912157362623173618 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 5433678062107002808} |
||||
- component: {fileID: 1479064500960241950} |
||||
- component: {fileID: 4994746633373797920} |
||||
m_Layer: 5 |
||||
m_Name: TimeText |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &5433678062107002808 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 7912157362623173618} |
||||
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: 2901406224354760988} |
||||
m_Father: {fileID: 7382728396848158164} |
||||
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: -326.7, y: 0.39996} |
||||
m_SizeDelta: {x: 153.8, y: 45} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &1479064500960241950 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 7912157362623173618} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &4994746633373797920 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 7912157362623173618} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_FontData: |
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} |
||||
m_FontSize: 18 |
||||
m_FontStyle: 0 |
||||
m_BestFit: 0 |
||||
m_MinSize: 1 |
||||
m_MaxSize: 40 |
||||
m_Alignment: 4 |
||||
m_AlignByGeometry: 0 |
||||
m_RichText: 1 |
||||
m_HorizontalOverflow: 0 |
||||
m_VerticalOverflow: 0 |
||||
m_LineSpacing: 1 |
||||
m_Text: 00:00:00 |
||||
--- !u!1 &8276759109998941781 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 5451727567089539987} |
||||
- component: {fileID: 7062963755228050522} |
||||
- component: {fileID: 4351449471571254477} |
||||
m_Layer: 5 |
||||
m_Name: Image |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &5451727567089539987 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 8276759109998941781} |
||||
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: 4605704894622230534} |
||||
m_RootOrder: 0 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
m_AnchorMin: {x: 1, y: 0} |
||||
m_AnchorMax: {x: 1, y: 1} |
||||
m_AnchoredPosition: {x: -0.5, y: 0} |
||||
m_SizeDelta: {x: 1, y: 0} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &7062963755228050522 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 8276759109998941781} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &4351449471571254477 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 8276759109998941781} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_Sprite: {fileID: 21300000, guid: 10c948ff69f358641b9e7c877aa88e87, type: 3} |
||||
m_Type: 0 |
||||
m_PreserveAspect: 0 |
||||
m_FillCenter: 1 |
||||
m_FillMethod: 4 |
||||
m_FillAmount: 1 |
||||
m_FillClockwise: 1 |
||||
m_FillOrigin: 0 |
||||
m_UseSpriteMesh: 0 |
||||
--- !u!1 &8639302903593232628 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 2600007271017601490} |
||||
- component: {fileID: 3846190071710953346} |
||||
- component: {fileID: 86377876250684265} |
||||
m_Layer: 5 |
||||
m_Name: Image |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &2600007271017601490 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 8639302903593232628} |
||||
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: 5486430369223838899} |
||||
m_RootOrder: 0 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
m_AnchorMin: {x: 1, y: 0} |
||||
m_AnchorMax: {x: 1, y: 1} |
||||
m_AnchoredPosition: {x: -0.5, y: 0} |
||||
m_SizeDelta: {x: 1, y: 0} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!222 &3846190071710953346 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 8639302903593232628} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!114 &86377876250684265 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_GameObject: {fileID: 8639302903593232628} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_Sprite: {fileID: 21300000, guid: 10c948ff69f358641b9e7c877aa88e87, type: 3} |
||||
m_Type: 0 |
||||
m_PreserveAspect: 0 |
||||
m_FillCenter: 1 |
||||
m_FillMethod: 4 |
||||
m_FillAmount: 1 |
||||
m_FillClockwise: 1 |
||||
m_FillOrigin: 0 |
||||
m_UseSpriteMesh: 0 |
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 7c093297924f5534eb1a13ff56ae21c1 |
||||
PrefabImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 0e9d4c9b5978e1742b91454c7740fa46 |
||||
PrefabImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 112a7290737edfa4385eca886a07c6df |
||||
folderAsset: yes |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,19 @@
|
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using UnityEngine; |
||||
using UnityEngine.UI; |
||||
|
||||
public class ErrorInfoItem : MonoBehaviour |
||||
{ |
||||
public Text TimeText; |
||||
public Text RoleText; |
||||
//private Text EventText; |
||||
public Text DescribeText; |
||||
// Start is called before the first frame update |
||||
public void SetValue(ReportErroeSyncData data) |
||||
{ |
||||
TimeText.text = data.Time; |
||||
RoleText.text = data.errorset; |
||||
DescribeText.text = data.describe; |
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2 |
||||
guid: dc8db7d3ac31fe445ba48753e0729340 |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,46 @@
|
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using UnityEngine; |
||||
|
||||
public class EventPanel : MonoBehaviour |
||||
{ |
||||
public GameObject ErrorInfoItem; |
||||
public Transform Content; |
||||
public ButtonRecordByAC CloseButton; |
||||
private void Start() |
||||
{ |
||||
CloseButton.OutInterFaceButton = Close; |
||||
} |
||||
// Start is called before the first frame update |
||||
private void OnEnable() |
||||
{ |
||||
LoadItem(); |
||||
} |
||||
private void Close() |
||||
{ |
||||
gameObject.SetActive(false); |
||||
} |
||||
private void LoadItem() |
||||
{ |
||||
CleartItem(); |
||||
List<ReportErroeSyncData> errorList = REPORT_ERROR_SYNC.ErrorList; |
||||
for (int i = 0; i < errorList.Count; i++) |
||||
{ |
||||
GameObject item = Instantiate(ErrorInfoItem,Content); |
||||
item.GetComponent<ErrorInfoItem>().SetValue(errorList[i]); |
||||
} |
||||
} |
||||
|
||||
private void CleartItem() |
||||
{ |
||||
for (int i = 0; i < Content.childCount; i++) |
||||
{ |
||||
Destroy(Content.GetChild(i).gameObject); |
||||
} |
||||
} |
||||
// Update is called once per frame |
||||
void Update() |
||||
{ |
||||
|
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2 |
||||
guid: bb60a37f98177df43a08cecd16bdc654 |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,14 @@
|
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using UnityEngine; |
||||
|
||||
public class OverAllCloseButton : BaseButton |
||||
{ |
||||
public Transform overAllReportPanel; |
||||
public override void RespondFun() |
||||
{ |
||||
overAllReportPanel.gameObject.SetActive(false); |
||||
} |
||||
|
||||
|
||||
} |
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 1e3b6a481b50c9548965cfc269851c88 |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
Loading…
Reference in new issue