void Start() { uiControl = FindObjectOfType<UIController>(); dietSprites = IconController.GetDietSprites(); locoSprites = IconController.GetLocoSprites(); foodColors = IconController.GetfoodColors(); locoColors = IconController.GetLocoColors(); statSliders = statsPanel.GetComponentsInChildren<Slider>(); subStatSliders = statSubPanel.GetComponentsInChildren<Slider>(); if (uiControl.ViewSelectedCritter()){ target = uiControl.ViewSelectedCritter(); PopulateInfo(target); } }