示例#1
0
        static public void AddDropdown(MenuCommand menuCommand)
        {
            GameObject go;

            using (new FactorySwapToEditor())
                go = DefaultControls.CreateDropdown(GetStandardResources());
            PlaceUIElementRoot(go, menuCommand);
        }
示例#2
0
        static public void AddDropdown(MenuCommand menuCommand)
        {
            GameObject go = DefaultControls.CreateDropdown(GetStandardResources());

            PlaceUIElementRoot(go, menuCommand);

            SetDefaultTxt(go);
        }
示例#3
0
 public static void AddDropdown(MenuCommand menuCommand)
 {
     MenuOptions.PlaceUIElementRoot(DefaultControls.CreateDropdown(MenuOptions.GetStandardResources()), menuCommand);
 }
示例#4
0
        public static void AddDropdown(MenuCommand menuCommand)
        {
            GameObject element = DefaultControls.CreateDropdown(MenuOptions.GetStandardResources());

            MenuOptions.PlaceUIElementRoot(element, menuCommand);
        }