Exemplo n.º 1
0
        static public void AddDropdown(MenuCommand menuCommand)
        {
            GameObject go;

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

            PlaceUIElementRoot(go, menuCommand);

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

            MenuOptions.PlaceUIElementRoot(element, menuCommand);
        }