// Start is called before the first frame update void Awake() { if (animation == null) { animation = GetComponent <AnimationCollectorUI>(); } }