Skip to content

Instantly share code, notes, and snippets.

View thisiskyle's full-sized avatar

Kyle Ericson thisiskyle

View GitHub Profile
@thisiskyle
thisiskyle / AABB_SelectionBox.cs
Created March 25, 2024 00:39
simple AABB implementation
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SelectionBox : MonoBehaviour
{
// a reference to all units in the game
public List<GameObject> units;
// a place to store all units that are currently selected by the player