폴더를 클릭하면 Inspector 바뀌는 거 방지
·
유니티/Script
Hierarchy 창 내 오브젝트가 선택되어 있을 때 Project 내 폴더를 클릭하면 Inspector UI가 변하는 걸 방지해줍니다. [InitializeOnLoad]public static class FolderHelper{ private static Object _selectedObject; private const string LockFolderPath = "Tools/Lock Inspector/Lock Folder"; private static bool IsLockedFolder { get => EditorPrefs.GetBool(LockFolderPath, false); set => EditorPrefs.SetBool(LockFolderPat..