sharing a unity script for room generation