1
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using System.Linq;
|
||||
using NativeQuadTree;
|
||||
using Unity.Mathematics;
|
||||
|
||||
namespace BITKit.WorldChunk
|
||||
{
|
||||
public class WorldChunkManager : MonoBehaviour
|
||||
{
|
||||
public Vector2Int playerSize;
|
||||
private Rect playerRect;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
var quadTree = new NativeQuadTree<int>(new AABB2D(default, new float2(1024,1024)));
|
||||
}
|
||||
|
||||
private void FixedUpdate()
|
||||
{
|
||||
var cameraPos = Camera.main.transform.position;
|
||||
|
Reference in New Issue
Block a user