You've already forked taptap2024_GJ_chidouren
update core
This commit is contained in:
@@ -74,19 +74,20 @@ namespace Game.Component
|
||||
this.ScenePart.InitPart ();
|
||||
// this.Pathfinder.data.SetData (this.ScenePart.mapCacheData.bytes);
|
||||
// this.Pathfinder.FlushGraphUpdates ();
|
||||
this.Pathfinder.Scan ();
|
||||
CameraManager.Instance.SetBoxCollider (this.ScenePart.cameraCollider);
|
||||
}
|
||||
|
||||
public void ResetGame ()
|
||||
{
|
||||
this.PlayerEntity.gameObject.SetActive (false);
|
||||
this.IsPause = false;
|
||||
this._RunawayTimeHandler?.Kill ();
|
||||
this.IsRunaway = false;
|
||||
this.ScenePart.RefreshInit ();
|
||||
this.IsRunaway = false;
|
||||
this.PlayerEntity.speed = this.ScenePart.playerBaseSpeed;
|
||||
this.PlayerEntity.transform.position = this.ScenePart.createPos.position;
|
||||
this.PlayerEntity.transform.rotation = this.ScenePart.createPos.rotation;
|
||||
this.PlayerEntity.gameObject.SetActive (true);
|
||||
this.ScenePart.RefreshInit ();
|
||||
this.PlayerEntity.RefreshInit ();
|
||||
//播放特效
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user