/// <summary> /// Request the observer to clear the observations in the scene /// </summary> public void ClearScene() { foreach (GameObject gameObject in instantiatedPrefabs) { Destroy(gameObject); } instantiatedPrefabs.Clear(); observer.ClearObservations(); }
/// <summary> /// Request the observer to clear the observations in the scene /// </summary> public void ClearScene() { observer.ClearObservations(); }