Skip to content

Instantly share code, notes, and snippets.

@DGoodayle
DGoodayle / QuadTreeTest.cs
Last active June 9, 2023 10:59
Quadtree in Unity
using UnityEngine;
using System.Collections;
public class QuadTreeTest : MonoBehaviour {
public class TestObject : IQuadTreeObject{
private Vector3 m_vPosition;
public TestObject(Vector3 position){
m_vPosition = position;
}
public Vector2 GetPosition(){