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