Пример #1
0
 void Awake()
 {
     _tipsModel = GetComponent <NotificationTipsModel>();
     if (null == _tipsModel)
     {
         throw new MissingComponentException(
                   "NotificationTipsController.Awake - can't find NotificationTipsModel component in _tipsModel");
     }
     SubscribeEvents();
     _tipsModel.State = NotificationTipsModel.NotificationTipsState.SmallIcon;
 }
	void Awake ()
	{

		_tipsModel = GetComponent<NotificationTipsModel>();
		if (null == _tipsModel)
		{
			throw new MissingComponentException(
				"NotificationTipsController.Awake - can't find NotificationTipsModel component in _tipsModel");
		}
		SubscribeEvents();
		_tipsModel.State = NotificationTipsModel.NotificationTipsState.SmallIcon;
	}