protected CRCommunicationBase(params ButtonMenu[] menus) { List <ButtonMenu> all = new List <ButtonMenu> { new ButtonMenu("reply", Messages.Reply, String.Empty), new ButtonMenu("replyAll", Messages.ReplyAll, String.Empty), new ButtonMenu("forward", Messages.Forward, String.Empty), }; all.AddRange(menus); ScreenActions.SetMenu(all.ToArray()); ScreenActions.MenuAutoOpen = true; this.Emails.Cache.AllowUpdate = true; this.Emails.AllowUpdate = true; }
// Use this for initialization void Start() { animator = GetComponentInChildren <Animator>(); panel = GameObject.Find("Canvas").GetComponent <ScreenActions>(); }