Inheritance: UnityEngine.MonoBehaviour
Exemple #1
0
 void Awake()
 {
     rect        = GetComponent <RectTransform>();
     scroll      = GetComponent <ScrollRect>();
     content     = transform.Find(contentGameObjectName);
     annotation_ = transform.parent.Find("Annotation View").GetComponent <AnnotationView>();
 }
Exemple #2
0
 void Awake()
 {
     rect    = GetComponent<RectTransform>();
     scroll  = GetComponent<ScrollRect>();
     content = transform.FindChild(contentGameObjectName);
     annotation_ = transform.parent.Find("Annotation View").GetComponent<AnnotationView>();
 }