/// <summary>
    /// Handle new message event.
    /// </summary>
    /// <param name="e">E.</param>
    void OnNewMessage(EventNewMessage e)
    {
        if (!showSubMenu)
        {
            messageNofitySprite.gameObject.SetActive(true);
        }


        for (int i = 0; i < subButtons.Length; i++)
        {
            subButtons[i].GetComponent <UITweenAlphaButton>().OnNotify();
        }
    }
Beispiel #2
0
 /// <summary>
 /// Handle new message event.
 /// </summary>
 /// <param name="e">E.</param>
 void OnNewMessage(EventNewMessage e)
 {
     newMessageNotifySprite.gameObject.SetActive(true);
 }
 /// <summary>
 /// Updates the inbox.
 /// </summary>
 /// <param name="e">E.</param>
 void UpdateInbox(EventNewMessage e)
 {
     UpdateInbox();
 }
Beispiel #4
0
 void IController <T> .Hanlder_NewMessage(T msg)
 {
     EventNewMessage?.Invoke(msg);
 }