This file contains 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
// Summary | |
// Disables Editor Keyboard Behavior when Unity Player has focus, so your game can handle CTRL and | |
// without corrupting your scene. | |
// | |
// Usage | |
// * Download or copy/paste and attach this component to a scene management object in your scene. | |
// * Create a new shortcut profile using Edit->Shortcuts (tedious, you need to pretty much click every | |
// button and remove every keystroke, one by one). | |
// | |
// Remarks |
This file contains 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 System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
public static class FindMissingScriptsRecursively | |
{ | |
[MenuItem("Auto/Remove Missing Scripts Recursively Visit Prefabs")] | |
private static void FindAndRemoveMissingInSelected() | |
{ | |
// EditorUtility.CollectDeepHierarchy does not include inactive children |