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