static void Init() { window = (PoolEnvironmentEditor)EditorWindow.GetWindow(typeof(PoolEnvironmentEditor), false, "Pool Editor"); window.Show(); }