public static void OpenWindow(string folderPath) { WeaponSetCreationWindow window = EditorWindow.GetWindow(typeof(WeaponSetCreationWindow)) as WeaponSetCreationWindow; window.Init(folderPath); }