Skip to content

Instantly share code, notes, and snippets.

View asullivanr's full-sized avatar

Andrew Sullivan asullivanr

View GitHub Profile
@asullivanr
asullivanr / ColliderCreatorOdin.cs
Last active March 31, 2022 17:34
Easy point based collider creator using Odin. Add to an Empty GameObject.
using UnityEditor;
using UnityEngine;
using Sirenix.OdinInspector;
namespace TodelmerResources.Scripts.Utilities
{
/// <summary>
/// Creates a group of points that lets you easily create colliders for invisable walls, triggers or general blocking of player movements.
/// </summary>
[ExecuteInEditMode]