This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |