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 UnityEditor; | |
// Quickly recompile the project. | |
// Use only on empty project as it will erase your define symbols. | |
public static class Tool | |
{ | |
static int count = 0; | |
[MenuItem("Tools/Reload _r")] | |
public static void Reload() |
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
[InitializeOnLoad] | |
public static class GoBackSelection | |
{ | |
static GoBackSelection() | |
{ | |
Selection.selectionChanged -= HandleSelectionChange; | |
Selection.selectionChanged += HandleSelectionChange; | |
HandleSelectionChange(); | |
} |
OlderNewer