From 2fc9585797067730f28b03b0727bf05f9deed091 Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Fri, 12 May 2023 10:32:11 +0800 Subject: + worldline keepers --- marching/Assets/Scripts/Physics/TestQuadtree.cs | 32 ------------------------- 1 file changed, 32 deletions(-) delete mode 100644 marching/Assets/Scripts/Physics/TestQuadtree.cs (limited to 'marching/Assets/Scripts/Physics/TestQuadtree.cs') 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(); - } - } - -} -- cgit v1.1-26-g67d0