You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
43 lines
1.4 KiB
4 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class ExitBack : MonoBehaviour
|
||
|
{
|
||
|
// Start is called before the first frame update
|
||
|
void Start()
|
||
|
{
|
||
|
//力量部署信息重置
|
||
|
FireEnginesData.Instance.FireEnginesDataResert();
|
||
|
EntitiesManager.Instance.Reset();//跳转场景时要清空实体管理器中的对象
|
||
|
//UIManager.ResertUIManager();
|
||
|
//重置选择
|
||
|
SelectedObjs.ResertSelectObjs();
|
||
|
//重置装备信息
|
||
|
EquipManager.Instance.ResetEquipmanage();
|
||
|
//重置游戏设置
|
||
|
GameSettings.othersSettings.ResertGameSettig();
|
||
|
//重置报告
|
||
|
ReportDataMgr.ResertReportDataMgr();
|
||
|
//重置inputmanage 变量
|
||
|
InputManager.ResertInputmanage();
|
||
|
//重置到场力量
|
||
|
ArrivedPowerTotal.ResertArrivePowerTotal();
|
||
|
DisasterLibraryFile.Instance.Reset();
|
||
|
//清空内置判断错误列表
|
||
|
REPORT_ERROR_SYNC.ErrorList.Clear();
|
||
|
ChatManager.Instance.ResertChatManager();
|
||
|
GET_INSIDER_ANSWER_SYNC.feedback.Clear();
|
||
|
ArrivedPowerTotal.arrivedCars.Clear();
|
||
|
OnwayForceTotal.ResertOnway();
|
||
|
CurrentUserInfo.ResertExit();
|
||
|
CloneObjNameTool.Instance().ResertCloneObjNameTool();
|
||
|
}
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|