Skip to content

Instantly share code, notes, and snippets.

@rheirman
rheirman / SwitchShortcutsProfileOnPlay.cs
Created December 30, 2019 12:37
Clear Unity editor shortcuts
using UnityEngine;
using UnityEditor;
using UnityEditor.ShortcutManagement;
using System.Linq;
using System;
[InitializeOnLoad]
public class SwitchShortcutsProfileOnPlay
{
private const string PlayingProfileId = "Playing";//Make you don't already have a profile named like this