Skip to content

Instantly share code, notes, and snippets.

@MohHeader
MohHeader / QuadTreeTest.cs
Last active May 1, 2022 17:39 — forked from DGoodayle/QuadTreeTest.cs
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(){