protected override void Awake()
 {
     base.Awake();
     textComponents = UIObject.GetComponentsInChildren <Text>();
     if (textComponents == null || textComponents.Length > 1)
     {
         componentMissing = true;
     }
     else
     {
         displayText = textComponents[0];
     }
     UIOpen = true;
 }
 protected override void Awake()
 {
     base.Awake();
     if (gameObject.activeSelf)
     {
         mouseOverInfoComponents = UIObject.GetComponentsInChildren <Text>();
         if (mouseOverInfoComponents == null || mouseOverInfoComponents.Length > 1)
         {
             componentMissing = true;
         }
         else
         {
             mouseOverInfoText = mouseOverInfoComponents[0] as Text;
         }
     }
 }
        protected override void Awake()
        {
            base.Awake();
            textComponents = UIObject.GetComponentsInChildren <Text>();
            if (textComponents == null)
            {
                componentMissing = true;
            }
            else
            {
                displayText = textComponents[0];
            }

            buttonComponents = UIObject.GetComponentsInChildren <Button>();
            if (buttonComponents == null || buttonComponents.Length > 1)
            {
                componentMissing = true;
            }
            else
            {
                dropOffButton       = buttonComponents[0];
                dropOffButtonObject = dropOffButton.gameObject;
            }
        }