0902
This commit is contained in:
parent
97504b1e4b
commit
254f54a708
|
@ -298,6 +298,24 @@ PrefabInstance:
|
|||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 049bfb1489c99ca49bfbcdcdca9d9cbf, type: 3}
|
||||
--- !u!1 &560496483 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 1817104531314915916, guid: 049bfb1489c99ca49bfbcdcdca9d9cbf, type: 3}
|
||||
m_PrefabInstance: {fileID: 275758847}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &560496487
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 560496483}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2b0607653b5fed643b96912f73248d7e, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
recordDuration: -1
|
||||
--- !u!1 &744736104
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -317,7 +317,7 @@ public class ProcessManager : BaseManager<ProcessManager>
|
|||
{
|
||||
yield return waitForSeconds;
|
||||
countDown_AutoSave--;
|
||||
//Debug.Log("自动保存倒计时:" + countDown_AutoSave);
|
||||
Debug.Log("自动保存倒计时:" + countDown_AutoSave);
|
||||
if (countDown_AutoSave <= 0)
|
||||
{
|
||||
ReconnectMgr.Instance.RealtimeStatWriter();//需要在GameManager里面初始化
|
||||
|
|
|
@ -61,6 +61,11 @@ public class ReconnectMgr : SingletonMono<ReconnectMgr>
|
|||
|
||||
}
|
||||
|
||||
Dictionary<string, ItemInfo> wearDic = PacksackBagMgr.Instance.wearDic;
|
||||
foreach (var item in wearDic)
|
||||
{
|
||||
UserExamStat.allWear.Add(((ItemInfo)item.Value).toolName);
|
||||
}
|
||||
|
||||
string UserJson = JsonConvert.SerializeObject(UserExamStat, Formatting.Indented);
|
||||
Debug.Log("用户当前状态" + UserJson);
|
||||
|
@ -107,8 +112,8 @@ public class ReconnectMgr : SingletonMono<ReconnectMgr>
|
|||
if (Input.GetKeyDown(KeyCode.S))//测试用,按S读取状态保存
|
||||
{
|
||||
//RealtimeStatWriter();
|
||||
Dictionary<string, List<ItemInfo>> tmpDic = PacksackBagMgr.Instance.GetCurrentBagData();
|
||||
Debug.Log(12);
|
||||
//Dictionary<string, List<ItemInfo>> tmpDic = PacksackBagMgr.Instance.GetCurrentBagData();
|
||||
//Debug.Log(12);
|
||||
}
|
||||
else if(Input.GetKeyDown(KeyCode.R))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue