public void ShowDescription(Shard shardData, string forcedDescription = "") { shardTitle.text = shardData.FriendlyName; string description = string.IsNullOrEmpty(forcedDescription) ? shardData.Description : forcedDescription; if (isPauseMenuVersion) { pauseMenuUI.ShowDescription(description); } else { shardDescription.text = description; } }
public override void Open() { if (group.menuElements.Count == 0) { pauseMenuUI.ShowDescription("I don't have any items right now...", CharacterExpression.sweat); } else { group.FocusElement(group.currentMenuElementIndex); } base.Open(); }
public override void Focus() { text.color = Color.white; pauseMenuUI.ShowDescription(itemData.ItemDescription); }