void Awake () { _notificationModel = GetComponent<RecommendationNotificationModel>(); if (null == _notificationModel) { throw new MissingComponentException( "RecommendationNotificationController.Start - can't find RecommendationNotificationModel component in _notificationModel"); } SubscribeEvents(); _notificationModel.State = RecommendationNotificationModel.RecommendationNotificationState.SmallIcon; }
void Awake() { _notificationModel = GetComponent <RecommendationNotificationModel>(); if (null == _notificationModel) { throw new MissingComponentException( "RecommendationNotificationController.Start - can't find RecommendationNotificationModel component in _notificationModel"); } SubscribeEvents(); _notificationModel.State = RecommendationNotificationModel.RecommendationNotificationState.SmallIcon; }