添加辽宁鞍山立山大悦城场景、添加河北唐山地形资源
This commit is contained in:
@@ -277,6 +277,13 @@ public class Boss : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Liaoning_AnShan_Lishan_Dayuecheng)
|
||||
{
|
||||
transform.DOMove(new Vector3(-6.54f, 3f, 7.64f), 4).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(endValue, 4).OnComplete(() =>
|
||||
|
||||
@@ -424,6 +424,21 @@ public class DropShip : Enemy
|
||||
_isShow = false;
|
||||
});
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Liaoning_AnShan_Lishan_Dayuecheng)
|
||||
{
|
||||
transform.DOMove(new Vector3(-9.39f, 5f, 14.6f), 4).OnComplete(() =>
|
||||
{
|
||||
isAttack = true;
|
||||
foreach (var item in tailGas)
|
||||
{
|
||||
item.SetActive(true);
|
||||
}
|
||||
bloodSlider.gameObject.SetActive(true);
|
||||
isShield = false;
|
||||
shieldObj.SetActive(false);
|
||||
_isShow = false;
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(endValue, 4).OnComplete(() =>
|
||||
|
||||
@@ -266,6 +266,13 @@ public class Leviathan : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else if(GameInit.Ins.gamePlace == GamePlace.Liaoning_AnShan_Lishan_Dayuecheng)
|
||||
{
|
||||
transform.DOMove(new Vector3(6.25f,-3.5f,-3.81f),2).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(-15f, 2).OnComplete(() =>
|
||||
|
||||
@@ -258,6 +258,13 @@ public class MachineDragon : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else if(GameInit.Ins.gamePlace == GamePlace.Liaoning_AnShan_Lishan_Dayuecheng)
|
||||
{
|
||||
transform.DOMove(new Vector3(-5.05f,0f,2.15f), 4).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(endValue, 4).OnComplete(() =>
|
||||
|
||||
@@ -55,6 +55,9 @@ public enum GamePlace
|
||||
Guangdong_Shenzhen_Guangming_Wanda = 27,
|
||||
Gansu_Jinchang_Jinchuan_Shijiguangchang = 28,
|
||||
Jiangsu_Xvzhou_Fengxian_Wuyueguangchang=29,
|
||||
Hebei_Tangshan_Qianan_Tianyuangu = 30,
|
||||
Guangdong_Guangzhou_Yanghaiyan = 31,
|
||||
Zhejiang_Hangzhou_Linping_Yintaicheng = 32,
|
||||
}
|
||||
|
||||
public class GameManager : MonoBehaviour
|
||||
@@ -511,6 +514,10 @@ public class GameManager : MonoBehaviour
|
||||
{
|
||||
EnergyPump.transform.position = new Vector3(1.5f, 0, 4.58f);
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Liaoning_AnShan_Lishan_Dayuecheng)
|
||||
{
|
||||
EnergyPump.transform.position = new Vector3(-3.23f, 0, 5.47f);
|
||||
}
|
||||
EnergyPumpTag++;
|
||||
EnergyPump.GetComponent<EnergyPump>().Init(EnergyPumpTag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user