Skip to content

Instantly share code, notes, and snippets.

View OwenTheProgrammer's full-sized avatar
:shipit:
Things shouldn't be "Good enough". There is always a better way.

OwenTheProgrammer OwenTheProgrammer

:shipit:
Things shouldn't be "Good enough". There is always a better way.
View GitHub Profile
@OwenTheProgrammer
OwenTheProgrammer / ReparentToSelected.cs
Created August 28, 2026 04:14
Unity Reparent To Selection
using System.Linq;
using UnityEditor;
using UnityEngine;
[InitializeOnLoad]
public class ReparentToSelected
{
private static GameObject[] _lastSelection;
private static GameObject[] _secondLastSelection;