Skip to content

Instantly share code, notes, and snippets.

View skjalgsm's full-sized avatar

Skjalg Sturlasson Mæhre skjalgsm

View GitHub Profile
@skjalgsm
skjalgsm / MoveComponentContext.cs
Created October 24, 2016 08:41 — forked from AngryAnt/MoveComponentContext.cs
Adds "Move to Top" and "Move to Bottom" items to the inspector context menu of components.
using UnityEngine;
using UnityEditor;
namespace Agens.Editor
{
public static class MoveComponentContext
{
internal enum Destination
{