private void Start() { this.anim = GetComponent <Animator>(); this.anim.SetBool("IsOn", this.isOn); this.WaterPump = FindObjectOfType <WaterPump>(); this.WaterPump.TurnOff(); this.coreTemp = FindObjectOfType <CoreTemp>(); this.coreTemp.StopCooling(); }
private void Start() { this.drainage = FindObjectOfType <Drainage>(); this.controlRodDepth = FindObjectOfType <ControlRodDepth>(); this.controlRodTemp = FindObjectOfType <ControlRodTemperature>(); this.waterPump = FindObjectOfType <WaterPump>(); this.coreTemp = FindObjectOfType <CoreTemp>(); this.energyOutput = FindObjectOfType <EnergyOutput>(); this.sceneChange = FindObjectOfType <SceneChange>(); }