View SwitchShortcutsProfileOnPlay.cs
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 |