updat core

This commit is contained in:
2024-10-21 22:29:53 +08:00
parent 6c950bb377
commit fbbd08e0a5
40 changed files with 6519 additions and 5112 deletions

View File

@@ -26,10 +26,7 @@ namespace Game.Component
public void OnMove (Vector2 vector)
{
if (!MapContent.Instance.IsActiveGame)
{
return;
}
var t = this.transform;
// 获取前方方向的世界坐标

View File

@@ -15,8 +15,11 @@ namespace Game.Component
[LabelText ("当前完成数:")] private int _currentConditionNumber = 0;
public int CurrentConditionNumber => this._currentConditionNumber;
private List<EnemyEntity> _enemyEntities;
public float CurProgress => this._currentConditionNumber * 1f / completeConditionNumber;
public bool IsComplete => _currentConditionNumber >= completeConditionNumber;