public void HideNotification() { if (m_DailyTaskIcon != null) { m_DailyTaskIcon.HideDailyTaskFinishedNotice(); } else { m_DailyTaskIcon = GameObject.Find("MogoMainUI").GetComponentsInChildren <DailyTaskIcon>(true)[0]; if (null == m_DailyTaskIcon) { Debug.LogError("ShowNotification m_DailyTaskIcon is null!"); } } }
public void RegisterDailyTaskIcon(DailyTaskIcon dti) { m_DailyTaskIcon = dti; }