Skip to content

Instantly share code, notes, and snippets.

View HaydenReeve's full-sized avatar
⚗️
Science!

Hayden Reeve HaydenReeve

⚗️
Science!
  • Verbrec
  • Perth, Australia
  • 23:28 (UTC +08:00)
View GitHub Profile
@yasirkula
yasirkula / SceneViewUIObjectPickerContextWindow.cs
Last active December 31, 2025 14:30
Select the UI 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 UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.UI;
public class SceneViewUIObjectPickerContextWindow : EditorWindow
@seleb
seleb / roll20 map save.js
Last active May 4, 2025 06:57
script for exporting roll20 maps to an image
/**
script for exporting roll20 maps to an image
how to use:
1. open your roll20 game to the page you want to save
2. open your browser's developer tools
3. copy-paste this entire file in the console
4. hit enter
5. wait for map to save and appear in top-left
6. right-click -> save as... to export