private void Start()
	{
		_model = GetComponent<NotificationManagerModel>();
		if (null == _model)
		{
			throw new MissingComponentException();
		}
		_model.TipsLogicController = new TipsController();

		_model.RecommendationLogicController = new RecommendationController();

		SubscribeEvents();

		UpdateNotification();
	}
Beispiel #2
0
    private void Start()
    {
        _model = GetComponent <NotificationManagerModel>();
        if (null == _model)
        {
            throw new MissingComponentException();
        }
        _model.TipsLogicController = new TipsController();

        _model.RecommendationLogicController = new RecommendationController();

        SubscribeEvents();

        UpdateNotification();
    }