void Awake() { rect = GetComponent <RectTransform>(); scroll = GetComponent <ScrollRect>(); content = transform.Find(contentGameObjectName); annotation_ = transform.parent.Find("Annotation View").GetComponent <AnnotationView>(); }
void Awake() { rect = GetComponent<RectTransform>(); scroll = GetComponent<ScrollRect>(); content = transform.FindChild(contentGameObjectName); annotation_ = transform.parent.Find("Annotation View").GetComponent<AnnotationView>(); }