You've already forked taptap2024_GJ_chidouren
updat core
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Game.Component
|
||||
private float speedBuffOffset;
|
||||
private TimeHandler speedBuffTimer;
|
||||
|
||||
public float CurSpeed => this.speed *
|
||||
public float CurSpeed => MapContent.Instance.MoveGlobalOffset * this.speed *
|
||||
(1 + (this.speedBuffTimer?.IsPlaying ?? false ? this.speedBuffOffset * (1 - this.speedBuffTimer.CurProgress) : 0));
|
||||
|
||||
public void AddSpeedBuff (float duration = 3 , float offset = 0.5f)
|
||||
@@ -27,7 +27,6 @@ namespace Game.Component
|
||||
public void OnMove (Vector2 vector)
|
||||
{
|
||||
|
||||
|
||||
var t = this.transform;
|
||||
// 获取前方方向的世界坐标
|
||||
Vector3 forward = (Vector3)vector;
|
||||
|
||||
Reference in New Issue
Block a user