UI material and environment

Made-with: Cursor
This commit is contained in:
Leo Qu
2026-03-03 16:28:20 -05:00
parent 00f8359961
commit b6c487db2a
17 changed files with 955 additions and 15 deletions

View File

@@ -14,6 +14,7 @@ public class ModuleSpawner : MonoBehaviour
public GameObject distanceSensorModulePrefab;
public GameObject imuSensorModulePrefab;
public GameObject speakerModulePrefab;
public GameObject powerModulePrefab;
public GameObject GetPrefabForType(ModuleType type)
{
@@ -22,6 +23,8 @@ public class ModuleSpawner : MonoBehaviour
{
case ModuleType.BATTERY:
return batteryModulePrefab;
case ModuleType.POWER:
return powerModulePrefab;
case ModuleType.SPLITTER:
return hubModulePrefab;
case ModuleType.DC_MOTOR: