Пример #1
0
        static public void AddSlider(MenuCommand menuCommand)
        {
            GameObject go;

            using (new FactorySwapToEditor())
                go = DefaultControls.CreateSlider(GetStandardResources());
            PlaceUIElementRoot(go, menuCommand);
        }
Пример #2
0
 public static void AddSlider(MenuCommand menuCommand)
 {
     MenuOptions.PlaceUIElementRoot(DefaultControls.CreateSlider(MenuOptions.GetStandardResources()), menuCommand);
 }
Пример #3
0
        static public void AddSlider(MenuCommand menuCommand)
        {
            GameObject go = DefaultControls.CreateSlider(GetStandardResources());

            PlaceUIElementRoot(go, menuCommand);
        }
Пример #4
0
        public static void AddSlider(MenuCommand menuCommand)
        {
            GameObject element = DefaultControls.CreateSlider(MenuOptions.GetStandardResources());

            MenuOptions.PlaceUIElementRoot(element, menuCommand);
        }