Example #1
0
 void runInit()
 {
     controller          = GetComponentInParent <LMessengerScreenController>();
     highlight           = GetComponent <NotificationHighlight>();
     ContactImage        = transform.GetChild(0).gameObject;
     ContactName         = transform.GetChild(1).gameObject;
     UnreadMessageCount  = transform.GetChild(2).gameObject;
     contactImageMask    = ContactImage.GetComponentInChildren <Mask> ().transform;
     contactImageDisplay = contactImageMask.GetChild(0).GetComponent <Image>();
     contactNameDisplay  = ContactName.GetComponent <Text>();
 }