...
This commit is contained in:
parent
efacbc9400
commit
78676f277b
|
|
@ -19,6 +19,13 @@ public class DropItemInfo : MonoBehaviourSingletonTemplate<DropItemInfo>
|
||||||
Make_DropItem(2, 30);
|
Make_DropItem(2, 30);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void AllOff()
|
||||||
|
{
|
||||||
|
foreach (var item in dic_dropitem)
|
||||||
|
for (int i = 0; i < item.Value.Count; i++)
|
||||||
|
item.Value[i].gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
void Make_DropItem(int key, int count)
|
void Make_DropItem(int key, int count)
|
||||||
{
|
{
|
||||||
AddrResourceMgr.Ins.LoadObject<GameObject>(dic_addrPath[key], handle =>
|
AddrResourceMgr.Ins.LoadObject<GameObject>(dic_addrPath[key], handle =>
|
||||||
|
|
|
||||||
|
|
@ -171,6 +171,7 @@ public partial class InGameInfo : MyCoroutine
|
||||||
LoadingUI.Ins.Start_Loading();
|
LoadingUI.Ins.Start_Loading();
|
||||||
AllEffectOff();
|
AllEffectOff();
|
||||||
if (ProjectileInfo.isIns) ProjectileInfo.Ins.AllOff();
|
if (ProjectileInfo.isIns) ProjectileInfo.Ins.AllOff();
|
||||||
|
if (DropItemInfo.isIns) DropItemInfo.Ins.AllOff();
|
||||||
MyValue.MyChoiceMapData.n_MapID = id;
|
MyValue.MyChoiceMapData.n_MapID = id;
|
||||||
var Tdata = table_battlemapconfig.Ins.Get_Data(MyValue.MyChoiceMapData.n_MapID);
|
var Tdata = table_battlemapconfig.Ins.Get_Data(MyValue.MyChoiceMapData.n_MapID);
|
||||||
m_GameMode = Tdata.e_MapType;
|
m_GameMode = Tdata.e_MapType;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue