示例#1
0
        public void OpenMenu()
        {
            if (IsMenuOpen)
            {
                Return();
                return;
            }

            if (CurrentPage == null)
            {
                return;
            }

            var menuBuilder = new NamedActionBuilder();

            CurrentPage.OnExtra(menuBuilder);
            Visit(MenuPage.Type, false);
            (_instances[MenuPage.Type] as IMenuDisplayer).LoadTasks(menuBuilder.Items);
        }
示例#2
0
 public virtual void OnExtra(NamedActionBuilder builder)
 {
 }