增加boss 互动

This commit is contained in:
2024-10-26 23:30:51 +08:00
parent 71b922fe6b
commit f8e241083e
8 changed files with 1278 additions and 439 deletions

View File

@@ -81,11 +81,7 @@ namespace Views{
}
else
{
this.ViewConnector.CloseView ();
Destroy (MapContent.Instance.ScenePart.gameObject);
MapContent.Instance.ScenePart = null;
//播放结尾gc动画
RoomManager.Instance._BossSceneDirector.Play();
}
});
}
@@ -166,10 +162,22 @@ namespace Views{
Shake.ShakeFor (0.25f , 0.75f);
CameraImpulseUtils.Instance.UniformImpulseCamera (0.5f , 4);
GameManager.Instance.Vibrator (VibratorScale.Normal);
ToBossCG ();
return;
}
this.nextBtn.gameObject.SetActive (true);
}
private void ToBossCG ()
{
this.ViewConnector.CloseView ();
Destroy (MapContent.Instance.ScenePart.gameObject);
MapContent.Instance.ScenePart = null;
//播放结尾gc动画
RoomManager.Instance._BossSceneDirector.Play();
UIManager.Instance.OpenView (UIPanel.BossTouchPanel);
}
private async UniTask AnimOpen (UIDissolve[] effects , GameObject point)
{
var taskTracker = GameUpdateMgr.Instance.CreateTask ();