Skip to content

+EA 23.177 Nightly Patch 2 - Plugin.UI

August 11, 2025

2 files modified.

Important Changes

Possible breaking changes. Click the filename to view the chunk.

UIButton (1)

cs
public static void TryShowTip<T>(Transform root = null, bool highlight = true, bool ignoreWhenRightClick = true) where T : UIButton
public static void TryShowTip<T>(Transform root = null, bool highlight = true, bool ignoreWhenRightClick = false) where T : UIButton

BookList

public class Item

cs
		public string id;

		public int chance = 100;
		public int skin; 
	}

	public static Dictionary<string, Dictionary<string, Item>> dict;

static void AddDir(string id, string path)

cs
					title = array[0],
					author = ((array.Length >= 2 && !array[1].IsEmpty()) ? "nameAuthor".lang(array[1]) : "unknownAuthor".lang()),
					chance = ((array.Length >= 3) ? array[2].ToInt() : 100),
					skin = ((array.Length >= 4) ? array[3].ToInt() : 0), 
					id = fileInfo.Name.Replace(fileInfo.Extension, "")
				};
				dictionary.Add(item.id, item);

UIButton

public static void TryShowTip(Transform root = null, bool highlight = true, bool

cs
		TryShowTip<UIButton>(root, highlight, ignoreWhenRightClick);
	}

	public static void TryShowTip<T>(Transform root = null, bool highlight = true, bool ignoreWhenRightClick = true) where T : UIButton
	public static void TryShowTip<T>(Transform root = null, bool highlight = true, bool ignoreWhenRightClick = false) where T : UIButton
	{
		actionTooltip = delegate
		{
			InputModuleEX.UpdateEventData();
			T componentOf = InputModuleEX.GetComponentOf<T>();
			if ((bool)componentOf && componentOf.tooltip.enable) 
			if (!componentOf || !componentOf.tooltip.enable) 
			{
				TooltipManager.Instance.HideTooltips();
				if ((bool)componentOf && (root == null || componentOf.transform.IsChildOf(root))) 
			} 
			else if ((bool)componentOf && (root == null || componentOf.transform.IsChildOf(root))) 
			{ 
				if (highlight) 
				{ 
					componentOf.DoHighlightTransition(); 
				} 
				try
				{ 
					TooltipManager.Instance.ShowTooltip(componentOf.tooltip, componentOf.transform); 
				} 
				catch
				{
					if (highlight) 
					{ 
						componentOf.DoHighlightTransition(); 
					} 
					try
					{ 
						componentOf.ShowTooltipForced(ignoreWhenRightClick); 
					} 
					catch
					{ 
					} 
				}
			}
		};