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