public void GenerateBiomeUID() { UniqueID[] all_uids = GetComponentsInChildren <UniqueID>(); UniqueID.ClearAll(all_uids); Random.InitState(seed); UniqueID.GenerateAll(all_uids); }
void OnWizardCreate() { UniqueID.ClearAll(GameObject.FindObjectsOfType <UniqueID>()); EditorSceneManager.MarkSceneDirty(EditorSceneManager.GetActiveScene()); }