添加重庆渝中洪崖洞侠客行场景,吉林北湖场景
This commit is contained in:
@@ -384,6 +384,21 @@ public class Boss : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Jilin_Changchun_Beihu_WyueGuangchang)
|
||||
{
|
||||
transform.DOMove(new Vector3(-1.78f, 3f, 3.05f), 4).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Chongqing_Yuzhong_Hongyadong_Xiakexing)
|
||||
{
|
||||
transform.DOMove(new Vector3(1.7f, 3f, 28.5f), 4).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(endValue, 4).OnComplete(() =>
|
||||
|
||||
@@ -608,6 +608,22 @@ public class DropShip : Enemy
|
||||
_isShow = false;
|
||||
});
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Chongqing_Yuzhong_Hongyadong_Xiakexing)
|
||||
{
|
||||
transform.DOMove(new Vector3(3.65f, 5f, 31.84f), 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(() =>
|
||||
|
||||
@@ -375,6 +375,21 @@ public class Leviathan : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else if (GameInit.Ins.gamePlace == GamePlace.Jilin_Changchun_Beihu_WyueGuangchang)
|
||||
{
|
||||
transform.DOMove(new Vector3(-6.5f, -3.5f, -1.6f), 2).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else if (GameInit.Ins.gamePlace == GamePlace.Chongqing_Yuzhong_Hongyadong_Xiakexing)
|
||||
{
|
||||
transform.DOMove(new Vector3(-1.3f, -3.5f, 19.7f), 2).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(-15f, 2).OnComplete(() =>
|
||||
|
||||
@@ -367,6 +367,21 @@ public class MachineDragon : Enemy
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else if (GameInit.Ins.gamePlace == GamePlace.Jilin_Changchun_Beihu_WyueGuangchang)
|
||||
{
|
||||
transform.DOMove(new Vector3(-1.92f, 0f, 6f), 4).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
else if (GameInit.Ins.gamePlace == GamePlace.Chongqing_Yuzhong_Hongyadong_Xiakexing)
|
||||
{
|
||||
transform.DOMove(new Vector3(2.65f, 0f, 28.18f), 4).OnComplete(() =>
|
||||
{
|
||||
Both();
|
||||
});
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
transform.DOMoveZ(endValue, 4).OnComplete(() =>
|
||||
|
||||
@@ -71,6 +71,8 @@ public enum GamePlace
|
||||
Jiangsu_Xvzhou_Suning_Guangchang_1=-37,
|
||||
Shanxi_Baoji_Meixian_TianlongShangcheng = 38,
|
||||
Hunan_Changde_Lixian_WandaGuangchang=39,
|
||||
Jilin_Changchun_Beihu_WyueGuangchang=41,
|
||||
Chongqing_Yuzhong_Hongyadong_Xiakexing=42,
|
||||
}
|
||||
|
||||
public class GameManager : MonoBehaviour
|
||||
@@ -592,7 +594,12 @@ public class GameManager : MonoBehaviour
|
||||
{
|
||||
EnergyPump.transform.position = new Vector3(-1.13f, 0, 2.65f);
|
||||
}
|
||||
if (GameInit.Ins.gamePlace == GamePlace.Chongqing_Yuzhong_Hongyadong_Xiakexing)
|
||||
{
|
||||
EnergyPump.transform.position = new Vector3(2f, 0, 28.22f);
|
||||
}
|
||||
EnergyPumpTag++;
|
||||
|
||||
EnergyPump.GetComponent<EnergyPump>().Init(EnergyPumpTag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user