Skip to content

Instantly share code, notes, and snippets.

View VoxelBoy's full-sized avatar

Yilmaz Kiymaz VoxelBoy

View GitHub Profile
@VoxelBoy
VoxelBoy / InspectorShortcuts.cs
Last active August 19, 2019 02:10
Lets you switch between Normal and Debug modes AND flip the Locked state of Inspectors with keyboard shortcuts (Shift+Alt+D for Normal/Debug modes and Shift+Alt+L for Flipping Locked state)
using UnityEditor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
public static class InspectorShortcuts
{
public static BindingFlags FullBinding = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static;