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