summaryrefslogtreecommitdiff
path: root/marching/Assets/Scripts/Physics/TestQuadtree.cs
diff options
context:
space:
mode:
Diffstat (limited to 'marching/Assets/Scripts/Physics/TestQuadtree.cs')
-rw-r--r--marching/Assets/Scripts/Physics/TestQuadtree.cs32
1 files changed, 0 insertions, 32 deletions
diff --git a/marching/Assets/Scripts/Physics/TestQuadtree.cs b/marching/Assets/Scripts/Physics/TestQuadtree.cs
deleted file mode 100644
index 2ea967e..0000000
--- a/marching/Assets/Scripts/Physics/TestQuadtree.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using mh;
-using MH;
-using Unity.VisualScripting;
-
-namespace mh
-{
- [DefaultExecutionOrder(-1000)]
- public class TestQuadtree : MonoBehaviour
- {
-
- private void Awake()
- {
- }
-
- private void FixedUpdate()
- {
- var pos = UnitManager.hero.transform.position;
- PhysicsManager.Instance.collisionQuadtreeRange = new Vector4(pos.x, pos.y, 30, 20);
- PhysicsManager.Instance.hurtboxQuadtreeRange = new Vector4(pos.x, pos.y, 30, 20);
- PhysicsManager.Instance.Update();
- }
-
- private void OnDrawGizmos()
- {
- PhysicsManager.Instance.Debug();
- }
- }
-
-}