|
Serious Game - Electrónica VR 1.0.0
|
Sistema de entrega asimétrica de componentes. More...


Public Member Functions | |
| void | SendResistor (float resistanceValue) |
| void | SendLED (bool correctPolarity=true) |
| void | SendCapacitor (bool correctPolarity=true) |
| void | OnExplorerInstalled (ComponentSlot slot) |
| void | InicializarManual (NetworkRunner runnerActivo) |
Public Attributes | |
| GameManager | gameManager |
| Transform | puntoDeEntrega |
| GameObject | resistorPrefab |
| GameObject | ledPrefab |
| GameObject | capacitorPrefab |
| GameObject | arduinoPinPrefab |
Events | |
| static Action< ComponentType, float > | OnComponentSent |
| static Action< bool > | OnComponentInstalled |
| static Action | OnDeliveryError |
Private Member Functions | |
| void | OnEnable () |
| void | OnDisable () |
| void | SpawnInDeliveryTray (GameObject prefab, float value) |
| void | ApplyRepairToCircuit () |
| bool | ValidateResistorValue (float value) |
| ComponentSlotType | GetSlotTypeFor (ComponentType type) |
| void | CancelPendingDelivery () |
Private Attributes | |
| NetworkRunner | _manualRunner |
| ComponentType | _pendingType = ComponentType.None |
| float | _pendingValue = 0f |
| bool | _waitingForInstall = false |
| GameObject | _spawnedComponent |
Sistema de entrega asimétrica de componentes.
FLUJO COMPLETO:
Si el Técnico envía el componente EQUIVOCADO → error registrado, el componente desaparece y el Técnico debe volver a diagnosticar.
|
private |
|
private |
|
private |
| void ComponentDeliverySystemBackup.InicializarManual | ( | NetworkRunner | runnerActivo | ) |
|
private |
|
private |
| void ComponentDeliverySystemBackup.OnExplorerInstalled | ( | ComponentSlot | slot | ) |
| void ComponentDeliverySystemBackup.SendCapacitor | ( | bool | correctPolarity = true | ) |
| void ComponentDeliverySystemBackup.SendLED | ( | bool | correctPolarity = true | ) |
| void ComponentDeliverySystemBackup.SendResistor | ( | float | resistanceValue | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| GameObject ComponentDeliverySystemBackup.arduinoPinPrefab |
| GameObject ComponentDeliverySystemBackup.capacitorPrefab |
| GameManager ComponentDeliverySystemBackup.gameManager |
| GameObject ComponentDeliverySystemBackup.ledPrefab |
| Transform ComponentDeliverySystemBackup.puntoDeEntrega |
| GameObject ComponentDeliverySystemBackup.resistorPrefab |
|
static |
|
static |
|
static |