static void Init() { TakeScreenshot window = (TakeScreenshot)EditorWindow.GetWindow<TakeScreenshot>(); window.Show(); }