void Awake() { InnerDoor = InnerDoorObject.GetComponent <AirlockDoorController>(); OuterDoor = OuterDoorObject.GetComponent <AirlockDoorController>(); InformationText = InformationTextObject.GetComponent <Text>(); PlayerStats = Player.GetComponent <PlayerStats>(); SoundEffect = GetComponent <AudioSource>(); }
void Awake() { NotificationController = NotificationObject.GetComponent <NotificationController>(); ObjectiveController = ObjectiveObject.GetComponent <ObjectiveController>(); ElectricCableController = ElectricCable.GetComponent <ElectricCableController>(); AirlockDoorController = AirlockOuterDoor.GetComponent <AirlockDoorController>(); VoiceLines = GetComponent <AudioSource>(); AirlockPressurisationController = AirlockTrigger.GetComponent <AirlockPressurisationController>(); FabricatorController = FabricatorTrigger.GetComponent <FabricatorController>(); PlayerStats = GetComponent <PlayerStats>(); BeaconLocationController = GetComponent <BeaconLocationController>(); RescueController = GetComponent <RescueController>(); }
void Awake() { AirLock = Door.GetComponent <AirlockDoorController>(); ActionText = ActionTextObject.GetComponent <Text>(); }