Exemplo n.º 1
0
        public static MenuItemBuilderDescAttribute GetItemDescCache(
            IMenuEditorWindowItemBuilder builder)
        {
            if (BuilderDict.ContainsKey(builder))
            {
                return(BuilderDict[builder].DescAttribute);
            }

            return(null);
        }
Exemplo n.º 2
0
 public YuMenuItemBuilderPriorityResult(IMenuEditorWindowItemBuilder builder, int priority)
 {
     Builder  = builder;
     Priority = priority;
 }