添加乌兰浩特万达商场场景
This commit is contained in:
@@ -214,6 +214,13 @@ public class Boss : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Wulanhaote_Wanda_Shangchang)
|
||||
{
|
||||
transform.DOMove(new Vector3(-9.3f, 3f, 3.4f), 4).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(endValue, 4).OnComplete(() =>
|
||||
|
||||
@@ -331,6 +331,21 @@ public class DropShip : Enemy
|
||||
_isShow = false;
|
||||
});
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Wulanhaote_Wanda_Shangchang)
|
||||
{
|
||||
transform.DOMove(new Vector3(-3.15f, 5f, -2.22f), 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(() =>
|
||||
|
||||
@@ -203,6 +203,13 @@ public class Leviathan : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else if(GameInit.Ins.gamePlace == GamePlace.Wulanhaote_Wanda_Shangchang)
|
||||
{
|
||||
transform.DOMove(new Vector3(-8.1f,-3.5f,18.4f),2).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(-15f, 2).OnComplete(() =>
|
||||
|
||||
@@ -195,6 +195,13 @@ public class MachineDragon : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else if(GameInit.Ins.gamePlace == GamePlace.Wulanhaote_Wanda_Shangchang)
|
||||
{
|
||||
transform.DOMove(new Vector3(-9.1f,0f,12.11f), 4).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(endValue, 4).OnComplete(() =>
|
||||
|
||||
@@ -44,6 +44,7 @@ public enum GamePlace
|
||||
Shandong_Heze_Yuncheng_Gefuli = 20,
|
||||
Wulanhaote_Ouya_Shangchang = 21,
|
||||
Wulanhaote_Wanda_Shangchang = -21,
|
||||
Yunnan_Mile_Jinchen_Shidaiguangchang = 22,
|
||||
}
|
||||
|
||||
public class GameManager : MonoBehaviour
|
||||
@@ -458,6 +459,10 @@ public class GameManager : MonoBehaviour
|
||||
{
|
||||
EnergyPump.transform.position = new Vector3(1.52f, 0, 6.67f);
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Wulanhaote_Wanda_Shangchang)
|
||||
{
|
||||
EnergyPump.transform.position = new Vector3(-8.47f, 0, 1.59f);
|
||||
}
|
||||
EnergyPumpTag++;
|
||||
EnergyPump.GetComponent<EnergyPump>().Init(EnergyPumpTag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user