diff options
author | chai <215380520@qq.com> | 2023-05-09 18:52:28 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-05-09 18:52:28 +0800 |
commit | 4afa7c36ba9ec33ed113dcfb7cd33bd630d444f2 (patch) | |
tree | ad7260d6a1e84cd1ab56493294301df34d6bb5a6 /marching/Assets/Scripts/Physics/TestQuadtree.cs | |
parent | f986dc197b5e093575bc0b56ee0ded991c228639 (diff) |
*misc
Diffstat (limited to 'marching/Assets/Scripts/Physics/TestQuadtree.cs')
-rw-r--r-- | marching/Assets/Scripts/Physics/TestQuadtree.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/marching/Assets/Scripts/Physics/TestQuadtree.cs b/marching/Assets/Scripts/Physics/TestQuadtree.cs index 1cbb64d..54ff5f6 100644 --- a/marching/Assets/Scripts/Physics/TestQuadtree.cs +++ b/marching/Assets/Scripts/Physics/TestQuadtree.cs @@ -18,8 +18,8 @@ namespace mh private void FixedUpdate() { var pos = UnitManager.hero.transform.position; - PhysicsManager.Instance.quadtreeCollisionRange = new Vector4(pos.x, pos.y, 50, 50); - PhysicsManager.Instance.quadtreeHurtboxRange = new Vector4(pos.x, pos.y, 50, 50); + PhysicsManager.Instance.collisionQuadtreeRange = new Vector4(pos.x, pos.y, 50, 50); + PhysicsManager.Instance.hurtboxQuadtreeRange = new Vector4(pos.x, pos.y, 50, 50); PhysicsManager.Instance.Update(); } |