static void ShowWindow() { window = EditorWindow.GetWindow(typeof(TimeScaleWindow)) as TimeScaleWindow; }