﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class QuadTreeObject : MonoBehaviour
{
    void Start()
    {
        //向树中插入该物体
        TreeManager.quadRoot.AddNode(new Vector2(transform.position.x, transform.position.z), this.gameObject);
    }
}