Skip to content

Instantly share code, notes, and snippets.

@yasirkula
yasirkula / SceneViewObjectPickerContextWindow.cs
Last active March 9, 2026 14:29
Select the object under the cursor via right click in Unity's Scene window
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using UnityEditor;
using UnityEngine;
using UnityEngine.Pool;
using UnityEngine.UI;
public class SceneViewObjectPickerContextWindow : EditorWindow