private void Update() { currentTimeOfDay.startAnimation(timeOfDayPanel.gameObject.GetComponent <Image>()); }