- 补充游戏核心逻辑

- 完成 TodOList P0
    - 添加游戏内控制台便于调试
    - 增加敌人互斥机制提高运算负载
    - 优化互斥算法将游戏性能基准线拉到 1k 敌人
This commit is contained in:
SepComet
2026-02-20 18:08:27 +08:00
parent b4bc8b0445
commit 3742110e9a
196 changed files with 4868 additions and 31326 deletions
+14 -11
View File
@@ -25,7 +25,7 @@ Transform:
m_GameObject: {fileID: 50638171685441296}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.86, y: 1.5, z: 0.5}
m_LocalPosition: {x: -1.72, y: 1.5, z: 1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -56,7 +56,7 @@ Transform:
m_GameObject: {fileID: 526023732862709228}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.86, y: 1.5, z: 0.5}
m_LocalPosition: {x: 1.72, y: 1.5, z: 1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -87,7 +87,7 @@ Transform:
m_GameObject: {fileID: 886755583121495434}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.5, z: -1}
m_LocalPosition: {x: 0, y: 1.5, z: -2}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -118,7 +118,7 @@ Transform:
m_GameObject: {fileID: 5243258899397488202}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.5, z: 1}
m_LocalPosition: {x: 0, y: 1.5, z: 2}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -150,13 +150,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5383497626468778460}
serializedVersion: 2
m_LocalRotation: {x: 0.42261827, y: 0, z: 0, w: 0.9063079}
m_LocalPosition: {x: 0, y: 10, z: -8}
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 15, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 9112716898534404901}
m_LocalEulerAnglesHint: {x: 50, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
--- !u!20 &4064848608618185461
Camera:
m_ObjectHideFlags: 0
@@ -189,8 +189,8 @@ Camera:
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
far clip plane: 100
field of view: 80
orthographic: 0
orthographic size: 5
m_Depth: 0
@@ -277,7 +277,7 @@ Transform:
m_GameObject: {fileID: 6372140121958224629}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -1, y: 1.5, z: 0}
m_LocalPosition: {x: -2, y: 1.5, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -308,7 +308,7 @@ Transform:
m_GameObject: {fileID: 6961884676133552519}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 1, y: 1.5, z: 0}
m_LocalPosition: {x: 2, y: 1.5, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -523,6 +523,9 @@ MonoBehaviour:
_isMoving: 0
_direction: {x: 0, y: 0, z: 0}
_cachedTransform: {fileID: 0}
_avoidEnemyOverlap: 0
_enemyBodyRadius: 0.45
_separationIterations: 2
_speedBase: 0
--- !u!114 &582203051508165858
MonoBehaviour: