static public void AddSlider(MenuCommand menuCommand) { GameObject go; using (new FactorySwapToEditor()) go = DefaultControls.CreateSlider(GetStandardResources()); PlaceUIElementRoot(go, menuCommand); }
public static void AddSlider(MenuCommand menuCommand) { MenuOptions.PlaceUIElementRoot(DefaultControls.CreateSlider(MenuOptions.GetStandardResources()), menuCommand); }
static public void AddSlider(MenuCommand menuCommand) { GameObject go = DefaultControls.CreateSlider(GetStandardResources()); PlaceUIElementRoot(go, menuCommand); }
public static void AddSlider(MenuCommand menuCommand) { GameObject element = DefaultControls.CreateSlider(MenuOptions.GetStandardResources()); MenuOptions.PlaceUIElementRoot(element, menuCommand); }