Ejemplo n.º 1
0
 protected override void SetReferences()
 {
     base.SetReferences();
     toggle          = GetComponentInChildren <ToggleController>();
     controller      = GetComponentInParent <LMessengerScreenController>();
     responseButtons = GetComponentsInChildren <LToggleableUIButton>();
     ExpandPanel.SetActive(false);
 }
Ejemplo n.º 2
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>();
 }