private void Start()
 {
     setExampleData();
     manager = Service.Get <TrayNotificationManager>();
     manager.SetParentRectTransform(NotificationParent);
     GUITray.SetActive(value: false);
 }
    public override IEnumerator PerformFirstPass()
    {
        TrayNotificationManager trayNotificationManager = new TrayNotificationManager();

        Service.Set(trayNotificationManager);
        RectTransform rectTransform = Service.Get <Canvas>().transform.Find("NotificationContainer") as RectTransform;

        if (rectTransform != null)
        {
            trayNotificationManager.SetParentRectTransform(rectTransform);
        }
        else
        {
            Log.LogError(this, "Could not find notification container in service canvas");
        }
        yield break;
    }