Example #1
0
 private void Start()
 {
     this.controlRodDepth = FindObjectOfType <ControlRodDepth>();
     this.controlRodTemp  = FindObjectOfType <ControlRodTemperature>();
     this.anim            = GetComponent <Animator>();
     this.anim.SetBool("IsArrowUp", this.isArrowUp);
     this.anim.SetBool("IsArrowDown", this.isArrowDown);
 }
Example #2
0
 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>();
 }