Skip to content

Instantly share code, notes, and snippets.

View dzil123's full-sized avatar

Daniel Z. dzil123

  • California, US
  • 15:51 (UTC -08:00)
View GitHub Profile
@Fonserbc
Fonserbc / EdgeCollider2DEditor.cs
Last active April 19, 2020 10:48
A small editor script for Unity3D to edit EdgeCollider2D points on editor
using UnityEditor;
using UnityEngine;
using System;
public class EdgeCollider2DEditor : EditorWindow {
[MenuItem("Window/EdgeCollider2D Snap")]
public static void ShowWindow() {
EditorWindow.GetWindow (typeof(EdgeCollider2DEditor));
}